pub trait StringIndexOf { // Required method fn index_of( &self, search_value: Option<&str>, from_index: Option<f64>, ) -> isize; }
String.prototype.indexOf ( searchString [ , position ] ) https://tc39.es/ecma262/#sec-string.prototype.indexof
String.prototype.indexOf ( searchString [ , position ] )