How to parse user input from a textarea line by line
Posted
by Blankman
on Stack Overflow
See other posts from Stack Overflow
or by Blankman
Published on 2010-04-19T19:30:04Z
Indexed on
2010/04/19
19:33 UTC
Read the original article
Hit count: 231
If I have a variable that contains text information (say taken from a textarea), how can I read the text content held in a string variable line by line?
The text entered in the text area will have \n (enter key) to separate the line.
© Stack Overflow or respective owner