std
::
core
::
string
index_of
fn
usz
?
String
.
index_of
(
self
,
String
substr
)
Find the index of the first incidence of a string.
Parameters