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

Builds a one-scalar string from a Char.

Parameters
ParameterDescription
valueUnicode scalar to encode as UTF-8 text.
Throws
  • ValueException if value is U+0000, which is reserved as the internal string terminator.
Example
assert String('😀') == "😀"