FindStringIndex Function

Searches for the index of a given string in a string table.

int FindStringIndex(int tableidx, const char[] str)

Parameters

int tableidx

A string table index.

const char[] str

String to find.

Return Value

String index if found, INVALID_STRING_INDEX otherwise.

Errors

Invalid string table index.