Skip to content

raylib.FileTextFindIndex

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Find text index position in existing file WARNING: DEPENDENCY: [rtext] module

Parameters

Parameter Default Value Note
fileName
search

Return value

Condition Return Value
(always) number

Notes

Example

idx = raylib.FileTextFindIndex("hello world", "world")
print "Found at index: " + idx   // prints 6

Clone this wiki locally