Handbook
Glossary
text-replace-between-alloc ( text begin end replacement -- string/f )
Vocabulary
raylib
Inputs
text
a
c-string
begin
a
c-string
end
a
c-string
replacement
a
c-string
Outputs
string/f
a
string
or
f
Word description
Replace text between two specific stringsReturns an owned Factor string, copying and releasing the native allocation. Use text-replace-between-alloc-raw to retain the native pointer and release it with mem-free.
Definition
USING:
raylib.private
;
IN:
raylib
:
text-replace-between-alloc
( text begin end replacement -- string/f )
text-replace-between-alloc-raw
[
mem-free
]
copy-raylib-string
;