Replace Newlines with BR, String Prototype


/ Published in: JavaScript
Save to your folder(s)

This will need to be either embeded or included and you can then just use this as such

myNewString = myStringVariable.nl2br();

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.