Forum Discussion
- k_de_boer03Contributor
Maybe the string should include newline characters (\n)?
Something like:
var names = "John\nSuzanne\nJane\nDaniel\nEmma"
Im guessing here
- suzanne_raineContributor
Actually that guess was spot on!
Hi,
I'm using the find/find child method, and one of the properties I'm trying to find is the "contentText".
However, the contentText values look a bit like this:
"John
Suzanne
Jane
Daniel
Emma"
Where they're on multiple lines, my script doesn't seem to like that - it gives a syntax error - it wants that value on ONE line.
How can I adjust my script so it behaves? :)
Maybe the string should include newline characters (\n)?
Something like:
var names = "John\nSuzanne\nJane\nDaniel\nEmma"
Im guessing here
Actually that guess was spot on!