I have the the string value similar to the one which i have to split based on the delimited ","
String SampleString=" 'ab,c', 'xyz', lm,n,o "
.I know I can easily call split function which will eventually split the above string
.But in my case the delimiter "," , is also a part of the string. If I call the function SampleString.split(',') I will get the output as listed below
ab
c
xyz
lm
n
o
but the expected output is
abc
xyz
lmno
Please let me know how can I handle the above use case