View Single Post
  #1 (permalink)  
Old Aug 22nd, 2006, 14:37
itsmarkdavies itsmarkdavies is offline
New Member
Join Date: Aug 2006
Location: UK
Age: 41
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Stripping Characters out of Strings ?

Hi, i am new to JavaScript so please accept my apologies if this is a simple question.

I need to write a Function that will take a String (entered through a TextBox on an .asp Page by a User), and strip a range of characters (e.g. "," "/" "'" "|") out of it, and replace them with nothing.

For example(s) :-

02/09/1967 should become 02091967
a,b should become ab

Any help appreciated.

Thanks,

Mark.

mark.davies@npower.com
Reply With Quote