Gerryw
06-16-2004, 02:21 PM
Hi all,
I am quite new to programming in javaScript and I am trying to find the code to remove a character/s from a string/s. As an example, if I initialise a variable called 'aString' and utilise 'window.prompt' to input 'Summer' or 'Have a nice day', what would be the code between 'window.prompt' and the last line 'document.write' to get the result result 'Smmr' or 'ae a ie a'?
I am quite new to programming in javaScript and I am trying to find the code to remove a character/s from a string/s. As an example, if I initialise a variable called 'aString' and utilise 'window.prompt' to input 'Summer' or 'Have a nice day', what would be the code between 'window.prompt' and the last line 'document.write' to get the result result 'Smmr' or 'ae a ie a'?