> From: "Dan Parry" > Subject: RE: [wdvltalk] JavaScript substring and > linebreaks on IE & Firefox bug.. > > [snip] > ...immediately followed by chr(12)... > [/snip] > > Should that not be chr(13)?
Picky, picky, picky. OK yes chr(12) I think is 'New page' rather than 'New line' (= cls on a screen and ff on a printer) and I meant chr(13), however you missed the fact I got them the wrong way round and a DOS/Windows \n is chr(13) followed by chr(10)! Just for that, *you* can post the regex expression to do the substitution... Bj ----------------------------------------- Email sent from www.ntlworld.com Virus-checked using McAfee(R) Software Visit www.ntlworld.com/security for more information ____ The WDVL Discussion List from WDVL.COM ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or use the web interface http://e-newsletters.internet.com/discussionlists.html/ Send Your Posts To: wdvltalk@lists.wdvl.com To change subscription settings, add a password or view the web interface: http://intm-dl.sparklist.com/read/?forum=wdvltalk ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: archive@jab.org To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.