how to convert string to array with same index size in java code example
Example: convert string to char array in java
String str = "example";
char[] ch = str.toCharArray();
String str = "example";
char[] ch = str.toCharArray();