i have 10 sentences i am importing into flash from xml. here is a sample:
my frog has four legs!
i parse it and place it in a variable c.
what i really want is the punctuation put into its own array. i strip c like this:
var strings = c.split(" ");
and of course that places every character into the array and the last character is “legs!”.
for other purposes i need to split it in every character but how can i now separate the punctuation (in order) so i can recall it later.