m link microsoft documentation |
m YoshBot moved page ProtoFlux:String To UTF32 to ProtoFlux:StringToUTF32: Automated: removing spaces from ProtoFlux namespace |
||
(One intermediate revision by one other user not shown) | |||
Line 13: | Line 13: | ||
|}} | |}} | ||
The '''String To UTF32''' returns the code point ([[UTF-32]] value) of a character or surrogate pair in a [[Type:string|string]]. | |||
== Inputs == | == Inputs == | ||
=== String ([[Type: | === String ([[Type:string|string]]) === | ||
The string to retrieve the character or surrogate pair from. | The string to retrieve the character or surrogate pair from. | ||
Latest revision as of 00:36, 21 August 2025
String To UTF32
Characters
The String To UTF32 returns the code point (UTF-32 value) of a character or surrogate pair in a string.
Inputs
String (string)
The string to retrieve the character or surrogate pair from.
Index (int)
The 0-indexed character to retrieve from String
.
Outputs
* (int)
The code point of the character or surrogate pair at the index in the string.
The value 0
is returned instead if one of the following is true:
Index
is greater than or equal to the String Length.Index
points to a low surrogate.Index
points to a high surrogate without a low surrogate following it.