Quantcast
Channel: string to string array conversion in java - Stack Overflow
Viewing all articles
Browse latest Browse all 16

Answer by Radhesh Khanna for string to string array conversion in java

$
0
0

Simply Use the .tocharArray() method in java

String k = "abc";
char alpha = k.tocharArray();

This should work just fine in JAVA 8


Viewing all articles
Browse latest Browse all 16

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>