Does anybody know what's the newline delimiter for a string in smalltalk?
I'm trying to split a string in separate lines, but I cannot figure out what's the newline character is smalltalk.
ie.
string := 'smalltalk is
a lot of fun.
ok, it's not.'
I need to split it in:
line1: smalltalk is
line2: a lot of fun.
line3: ok, it's not.
I can split a line based on any letter or symbol, but I can't figure out what the newline delimter is.
OK here is how I'm splitting the string based on commas, but I cannot do it based on a new line.