str_
indices
0.4.1
In str_
indices::
chars
str_indices
::
chars
Function
count
Copy item path
Source
pub fn count(text: &
str
) ->
usize
Expand description
Counts the chars in a string slice.
Runs in O(N) time.