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