index_of¶
In std/string.
fn index_of(self, part: String) : Option<Int>
The position of the first occurrence of part in self, counting
characters from 0, or none: "héllo" | index_of("l") is 2.
index_of¶In std/string.
fn index_of(self, part: String) : Option<Int>
The position of the first occurrence of part in self, counting
characters from 0, or none: "héllo" | index_of("l") is 2.