You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Replace text between two specific strings REQUIRES: strncpy() NOTE: If (replacement == NULL) remove "begin"[ ]"end" text WARNING: Returned string must be freed by user
Parameters
Parameter
Default Value
Note
text
begin
end
replacement
Return value
Condition
Return Value
(always)
number
Notes
Example
result=raylib.TextReplaceBetweenAlloc("Hello [name] World", "[", "]", "Joe")
printresult// "Hello Joe World"