Answered
Split() text either by line breaks or spaces (" ")
Hi everyone,
I would like to split my source text up to single words. text.sourceText.split(" ") works, but it doesnt take line breaks into account. I thought this would be the solution:
text.sourceText.split(" ", "\r")I e splitting the text up either by spaces or line breaks, but it doesn't work.
What am I doing wrong?
Best,
Mikael
