Hi,
Share the example code for splitting the string in Java using comma as separator.
Thanks
Hi,
You can use the split() function of the String class to split the string.
Here is the code example that can be used:
String subStr[] = mystring.split(",");
You can check the thread How to split string in Java?.
Thanks