Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: finding 'Enter'(\n) characters in strings & replacing them


Message #1 by "it's a 'Payam'..." <torkian@c...> on Sun, 16 Mar 2003 14:16:05 +0330 (IRT)
str = str.replace(/\s+/g,' ')


`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`
Robert
robkdavis@h...
`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus


  Return to Index