of     1   

helloburp
#184550103Monday, February 29, 2016 9:42 PM GMT

i'm trying to split a textbox's text with multi-line into a bunch of substrings based on when a new line is created, but I can't find the ascii representation of the indication (of a new line). so what would i put in the string.char() function to give me what i'm looking for? When life gives you lemons, don't make lemonade!
Kijanix
#184551043Monday, February 29, 2016 10:00 PM GMT

string.char(10)
chimmihc
#184551495Monday, February 29, 2016 10:10 PM GMT

You could just check if the character itself is a newline.
helloburp
#184552783Monday, February 29, 2016 10:31 PM GMT

thanks for the help! this script is looking good so far! When life gives you lemons, don't make lemonade!
cheesecake123456
#184552992Monday, February 29, 2016 10:34 PM GMT

I think a newline is '\n' or something
LegendaryAccount
#184553062Monday, February 29, 2016 10:35 PM GMT

String = [[Hello World ]] for s in String:gmatch"[^\n]+" do end

    of     1