Delete a line of text in javascript

Posted by Shard on Stack Overflow See other posts from Stack Overflow or by Shard
Published on 2010-03-27T03:45:47Z Indexed on 2010/03/27 3:53 UTC
Read the original article Hit count: 386

Filed under:
|

In javascript, If i have a text block like so

Line 1
Line 2
Line 3

What would i need to do to lets say delete the first line and turn it into:

Line 2
Line 3

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about text