public native indexOf(value as String, start as Int = 0) as Int
Finds the first index of a substring starting from a position.
Index of first occurrence, or -1 if not found.
assert "banane".indexOf("na") == 2