String functions are those that allow the user to work with strings. These functions include the ability to strip characters from a string; pad and trim a string; and evaluate the string as being empty, only whitespace, or alphabetic.

Use

<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript" SRC="JS_Vision_Globals.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript" SRC="JS_Vision_String.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript1.2" SRC="JS_Vision_String4.js"></SCRIPT>

Remarks

String manipulation is probably the most needed and used functionality when writing JavaScript. Why? Many Web pages deal with strings (i.e., text) when writing that text to a Web page or manipulating data entered into form input fields.

Those string functions that require JavaScript 1.2 capabilities are placed in the JS_Vision_String4.js file so the basic string functions may still be used in Version 3.0 of Netscape.

For more information on the SRC attribute of the SCRIPT tag, see JavaScript Vision Frequently Asked Questions.