itsmarkdavies
08-22-2006, 09:29 AM
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
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