ArrayList.FindString Method

Returns the index for the first occurrence of the provided string. If the string cannot be located, -1 will be returned.

int FindString(const char[] item, int block)

Parameters

const char[] item

String to search for

int block

Optionally which block to search in

Return Value

Array index, or -1 on failure