class Foo | |
/** | |
* Returns the index within this string of the first occurrence of the specified character, starting from the specified [startIndex]. | |
* | |
* @param ignoreCase `true` to ignore character case when matching a character. By default `false`. | |
* @returns An index of the first occurrence of [char] or -1 if none is found. | |
*/ | |
fun Foo.indexOf(char: Char, startIndex: Int = 0, ignoreCase: Boolean = false): Int { | |
return -1 | |
} |