Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: a function to clean a String


Message #1 by "payam." <torkian@c...> on Sat, 15 Feb 2003 15:22:12 +0330 (IRT)
You could use a Regular Expression to do this.

At 15:22 15/02/03 +0330, you wrote:
>Hello,
>
>Sorry, I've asked to many questions today.
>and maybe boring questions. :(
>I'll ask it short:
>
>do you know any predefined function to clean up a messy String?
>for example:
>- change Enter to \n. (most important one for me)
>- &  -->&amp;
>- > to &gt
>- .......
>
>thanks
>
>
>




  Return to Index