469,270 Members | 1,398 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,270 developers. It's quick & easy.

how to Replace a new line character "\n" in a string with space or ,

Hello

I am new user of this Forum.Can anyone help me regarding "How tp Replace a new line character "\n" in a string with space or ,"
Using Javascript.

Please reply me ASAP.
Feb 21 '08 #1
2 2782
hsriat
1,654 Expert 1GB
Hello

I am new user of this Forum.Can anyone help me regarding "How tp Replace a new line character "\n" in a string with space or ,"
Using Javascript.

Please reply me ASAP.

string.replace('\n', ' ');
Feb 21 '08 #2
Thanks for your reply.
Feb 22 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

7 posts views Thread by ajikoe | last post: by
7 posts views Thread by Justin | last post: by
5 posts views Thread by Karthik | last post: by
2 posts views Thread by Kannan | last post: by
25 posts views Thread by lovecreatesbeauty | last post: by
8 posts views Thread by Brand Bogard | last post: by
3 posts views Thread by Hvid Hat | last post: by
5 posts views Thread by Unknown | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.