int find(char[] s, dchar c)
int find(char[] s, char[] sub)
|
Find first occurrance of sub or c in string s. Return index where it was found, otherwise returns -1.
There are also case-sensitive versions available:
int ifind(char[] s, dchar c)
int ifind(char[] s, char[] sub)
|
See also:
splitlines,
rfind
|