Ignore Spaces | JavaScriptSource

Ignore Spaces

Mike McGrath Sep 9, 2000
Removes spaces from a string variable within a script or from user input into a text box. Several different uses are shown on the script example page.
Before:  String = x xx xxx xxxx
After: String =

Or, try entering a string with spaces in this box.

The JavaScript Source: Forms: Ignore Spaces

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!

    

Did you use this script?  Do you like this site?  Please link to us!

Leave a Response

(
0 comments)