I have a situation where I need to split the already split string.
For example,
String 1= "This,is, my, problem;I, need,a, solution";
Now I need to split the first sentence based on ";" and once I get this string, which should give me 2 sentences
1 "This,is,my,problem"
2 "I,need,a,solution"
And I need to further split these two sentences based on ",".
This
is
my
problem
I
need
a
solution
Is this possible using JavaScript.When I am trying to split the two sentences, I am getting error in JavaScript.