What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » New line problem, when \n doesn't work!

New line problem, when \n doesn't work!
Author: Message:
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
RE: New line problem, when \n doesn't work!
The point is: Notepad shows you "\n", but Windows makes it "a backslash followed by small N". In other word, what seems to be "\n", is actually "\\n". You may replace that sort of stuff using a RegExp:

JScript code:
new RegExp("\\n","gim");
05-05-2009 11:27 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
New line problem, when \n doesn't work! - by Saki on 05-01-2009 at 06:41 PM
RE: New line problem, when \n doesn't work! - by ShawnZ on 05-01-2009 at 08:00 PM
RE: RE: New line problem, when \n doesn't work! - by Saki on 05-02-2009 at 12:09 AM
RE: New line problem, when \n doesn't work! - by NanaFreak on 05-02-2009 at 11:39 AM
RE: New line problem, when \n doesn't work! - by SmokingCookie on 05-05-2009 at 11:27 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On