klyn.String.String
constructor
public String(value as Object)
Description

Builds a string from any object by using its textual representation. The result is an immutable snapshot, including when value is a MutableString.

Parameters
ParameterDescription
valueSource object. When null, the created string is "null".
Example
source = String("klyn")
copy = MutableString(source)
copy[0] = 'K'
assert source == "klyn"
assert copy == "Klyn"