String class | systype.h[307], reflect.t[236]

The native string type.

Modified in reflect.t[236]:
Modify the String intrinsic class to provide a to-symbol mapping

`intrinsic class String : Object`

Superclass Tree (in declaration order)

`String`
`Object`

Subclass Tree

(none)

Global Objects

(none)

Summary of Properties

``

``

(none)

Summary of Methods

`endsWith find findReplace htmlify length mapToByteArray startsWith substr toLower toUnicode toUpper valToSymbol`

Inherited from `Object` :
`getPropList getPropParams getSuperclassList isClass isTransient ofKind propDefined propInherited propType`

Properties

(none)

Methods

`endsWith (str)` | `systype.h[337]`

determine if we end with the given string

`find (str, index, ?)` | `systype.h[322]`

find a substring

`findReplace (origStr, newStr, flags, index, ?)` | `systype.h[352]`

Replace one occurrence or all occurrences of the given substring with the given new string.

`htmlify (flags, ?)` | `systype.h[331]`

htmlify a string

`length ( )` | `systype.h[310]`

get the length of the string

`mapToByteArray (charset)` | `systype.h[346]`

Map to a byte array, converting to the given character set. 'charset' must be an object of intrinsic class CharacterSet; the characters in the string will be mapped from the internal Unicode representation to the appropriate byte representation in the given character set.

`startsWith (str)` | `systype.h[334]`

determine if we start with the given string

`substr (start, len, ?)` | `systype.h[313]`

extract a substring

`toLower ( )` | `systype.h[319]`

convert to lower case

`toUnicode (idx, ?)` | `systype.h[328]`

convert to a list of Unicode character codes, or get the Unicode character code for the single character at the given index

`toUpper ( )` | `systype.h[316]`

convert to upper case

`valToSymbol ( )`OVERRIDDEN | `reflect.t[237]`

no description available

TADS 3 Library Manual
Generated on 9/13/2007 from TADS version 3.0.15.2