pub trait StringLastIndexOf {
// Required method
fn last_index_of(
&self,
search_value: Option<&str>,
from_index: Option<f64>,
) -> isize;
}
Required Methods§
Sourcefn last_index_of(
&self,
search_value: Option<&str>,
from_index: Option<f64>,
) -> isize
fn last_index_of( &self, search_value: Option<&str>, from_index: Option<f64>, ) -> isize
String.prototype.lastIndexOf ( searchString [ , position ] )
https://tc39.es/ecma262/#sec-string.prototype.lastindexof