Skip to content

raylib.GetTextBetween

JoeStrout edited this page Nov 16, 2026 · 3 revisions

Get the text between the first occurrence of begin and the next end after it ("" if not found). Result is limited to 1023 bytes

Parameters

Parameter Default Value Note
text
begin
end

Return value

Condition Return Value
(always) number

Notes

Example

// Extract the text between two delimiter strings
result = raylib.GetTextBetween("Hello [World] Goodbye", "[", "]")
print result  // "World"

Clone this wiki locally