Skip to content

raylib.FileTextReplace

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Replace text in an existing file WARNING: DEPENDENCY: [rtext] module

Parameters

Parameter Default Value Note
fileName
search
replacement

Return value

Condition Return Value
(always) number

Notes

Example

result = raylib.FileTextReplace("hello world", "world", "there")
print result   // prints "hello there"

Clone this wiki locally