fn first_non_whitespace(s: &str) -> Option<usize>
Expand description
Returns Some(k)
where k
is the byte offset of the first non-whitespace char. Returns k = 0
if s
starts with a non-whitespace char. If s
only contains whitespaces, returns None
.