about multi line variable

Posted by Gengen on Wed 20 Dec 2006 04:05 AM — 2 posts, 12,325 views.

#0
i have a multi line passage, let's say a lyric of song
which i want to write a script that can sing every line out, with an interval of 2 second

i tried to figure how to set the whole lyric as a variable
but i don't have a clue how to chop every line up

is there an easier way instead of copy and paste each line by hand?
Australia Forum Administrator #1
I would try using the Split function to split the variable up into lines (ie. make a linefeed the split point), and then work your way through the resulting array, each 2 seconds.