String Manipulation Functions - MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference

Dreamweaver api reference
Table of Contents

Advertisement

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
function encodes.
Returns
A URL-encoded string.
Example
The following example shows the
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.
344
Document
argument is a string that contains the unencoded URL that the
for
URL.value
"My URL-encoded string"
:

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver 8

Table of Contents