Skip to content

raylib.GetCodepointPrevious

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Get previous codepoint in a byte sequence and bytes processed

Parameters

Parameter Default Value Note
text
codepointSize null

Return value

Condition Return Value
(always) map

Notes

Example

// Read the codepoint just before the end of a string
text = "Hi!"
result = raylib.GetCodepointPrevious(text, null)
print result.codepoint   // 33 (= '!')
print result.advance

Clone this wiki locally