-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.GetCodepointPrevious
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Get previous codepoint in a byte sequence and bytes processed
| Parameter | Default Value | Note |
|---|---|---|
| text | ||
| codepointSize | null |
| Condition | Return Value |
|---|---|
| (always) | map |
// Read the codepoint just before the end of a string
text = "Hi!"
result = raylib.GetCodepointPrevious(text, null)
print result.codepoint // 33 (= '!')
print result.advance