Method
FromString
static func FromString(text: string) -> Character
Declaring type: Character
Module: System
Assembly: System.Runtime.dll
Source file: Character.rvn
Creates one Character from a complete extended grapheme cluster.
Parameters
| Name | Type | Description |
|---|---|---|
text |
String | Exactly one non-empty grapheme, preserving its UTF-8 spelling. |
Return value
The original grapheme value.
Remarks
Invalid empty or multi-grapheme text faults; use TryFromString for recoverable validation.