User Guide
344 Document
Returns
Nothing.
String manipulation functions
String manipulation functions help you get information about a string as well as convert a
string from Latin 1 encoding to platform-native encoding and back.
dreamweaver.doURLEncoding()
Availability
Dreamweaver 1.
Description
Takes a string and returns a URL-encoded string by replacing all the spaces and special
characters with specified entities.
Arguments
stringToConvert
■ The stringToConvert argument is a string that contains the unencoded URL that the
function encodes.
Returns
A URL-encoded string.
Example
The following example shows the URL.value for "My URL-encoded string":
var URL = dw.doURLEncoding(theURL.value);
returns "My%20URL-encoded%20string"
dreamweaver.getTokens()
Availability
Dreamweaver 1.
Description
Accepts a string and splits it into tokens.
000_DW_API_Print.book Page 344 Wednesday, July 20, 2005 11:58 AM