Adobe 38040334 - Dreamweaver CS3 User Manual page 268

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

• The
separatorCharacters
characters in quoted strings are ignored. Any white-space characters that occur in
as tabs) are treated as separator characters, as if they are explicitly specified. Two or more consecutive white space
characters are treated as a single separator.
Returns
An array of token strings.
Example
The following call to the
dw.getTokens()
dreamweaver.getTokens('foo("my arg1", 34)', '(),')
foo
"my arg 1"
34
dreamweaver.latin1ToNative()
Availability
Dreamweaver 2.
Description
Converts a string in Latin 1 encoding to the native encoding on the user's computer. This function is intended to
display the UI of an extension file in another language.
Note: This function has no effect in Windows because Windows encodings are already based on Latin 1.
Arguments
stringToConvert
• The
stringToConvert
Returns
The converted string.
dreamweaver.nativeToLatin1()
Availability
Dreamweaver 2.
Description
Converts a string in native encoding to Latin 1 encoding.
Note: This function has no effect in Windows because Windows encodings are already based on Latin 1.
Arguments
stringToConvert
• The
stringToConvert
argument is the character or characters that signifies the end of a token. Separator
function returns the tokens that come after it:
argument is the string to convert from Latin 1 encoding to native encoding.
argument is the string to convert from native encoding to Latin 1 encoding.
DREAMWEAVER CS3
API Reference
(such
separatorCharacters
263

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents