BrightNail
04-17-2003, 10:20 PM
hey,
you know how the split function works...
somestring.split(":")
we are breaking on the :
Now, I have a string that can have numerous "commas" -, but I only want to split the ones that seperate the arrays...for instance.
"my car, is the coolest in the world","Operation mind crime"
each of those entires is an array within a larger array..multidimensional..it has to be this way.
now, I need to split on the comma ..unfortunetly this gives me the strings
my car
is the coolest in the world
operation mind crime
it splits on the comma in the array too?
how can I split on the comma that seperates the arrays?
I was thinking.
somestring.split("\",\"")
you know how the split function works...
somestring.split(":")
we are breaking on the :
Now, I have a string that can have numerous "commas" -, but I only want to split the ones that seperate the arrays...for instance.
"my car, is the coolest in the world","Operation mind crime"
each of those entires is an array within a larger array..multidimensional..it has to be this way.
now, I need to split on the comma ..unfortunetly this gives me the strings
my car
is the coolest in the world
operation mind crime
it splits on the comma in the array too?
how can I split on the comma that seperates the arrays?
I was thinking.
somestring.split("\",\"")