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

Builds a string from any object by using its textual representation. The result has independent mutable storage, including when value is already a String or its toString method returns an existing string.

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