O'Reilly logo

Programming Atlas by Christian Wenz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Helper Classes

Some Atlas helper classes and features mimic the behavior of equivalent .NET Framework classes or features.

Sys.StringBuilder

Method

Description

Web.StringBuilder(initialText)

Constructor with initial text for the string

append(text)

Appends a text to the string

appendLine(text)

Appends a text and a newline (\r\n) to the string

clear()

Empties the string

isEmpty()

Whether the string is empty or not

toString(delimiter)

Joins all elements to a string

Enumerations

Method

Description

getValues()

Returns all values in the enumeration

valueFromString(s)

Returns the enumeration value with the given name

valueToString(value)

Returns the given enumeration value as a string

Type.createEnum(name, value1, index1, ...)

Creates an enumeration with the parameters provided to the Method

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required