public String(value as CodeUnit)
Builds a one-character string from a CodeUnit.
Converts the code unit to raw textual content, just like CodeUnit.toString(). Debug formatting is separate and does not add quotes to this conversion.
| Parameter | Description |
|---|---|
value | UTF-16 code unit to encode. |
assert String(`K`) == "K"