S
Soren
Hi!
I have a string that contains some text and newline characters. I want
to parse the string so that the string just before a newline character
goes in as an element in the tuple.
ex:
"text1 \n text2 \n text3 \n text4" --> (text1, text2, text3, text4)
Is there an easy way to do this?
Thanks!,
Soren
I have a string that contains some text and newline characters. I want
to parse the string so that the string just before a newline character
goes in as an element in the tuple.
ex:
"text1 \n text2 \n text3 \n text4" --> (text1, text2, text3, text4)
Is there an easy way to do this?
Thanks!,
Soren