Skip to contents

Find first text occurrence within a string, -1 if not found.

Usage

text_find_index(text, search)

Arguments

text

A string.

A string.

Value

An integer

Note

This function has been auto-generated from the following Raylib function definition:

int TextFindIndex(const char * text, const char * search);

See also

Examples

if (FALSE) {
text_find_index("Hello", "text")
}