Garden 🌻

String::index_of()

Find the first index of needle in this. Positions are in character offsets, not bytes.

Example
"abc".index_of("c") //-> Some(2)
Source Code
public method index_of(this: String, needle: String): Option<Int> {
  __BUILT_IN_IMPLEMENTATION
}