From Xojo Documentation


Text.Codepoints() As Xojo.Core.Iterable

Supported for all project types and targets.

Returns an iterator that returns UInt32 values for each Unicode scalar value that comprises the text.

Sample Code

Look for Unicode 65:

Dim myText As Text = "Once Upon A Time"
For Each codePoint As UInt32 In myText.Codepoints
If codePoint = 65 Then
// It is "A"
End If