-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.TextReplaceBetweenAlloc
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
| Parameter | Default Value | Note |
|---|---|---|
| text | ||
| begin | ||
| end | ||
| replacement |
| Condition | Return Value |
|---|---|
| (always) | number |
result = raylib.TextReplaceBetweenAlloc("Hello [name] World", "[", "]", "Joe")
print result // "Hello Joe World"