public native lastIndexOf(value as String, start as Int = -1) as Int
Finds the last index of a substring up to a position.
Index of last occurrence, or -1 if not found.
assert "banana".lastIndexOf("na") == 4