std::String::prefix_length<T>
prefix_length<T>
Returns the length of the initial segment of str consisting of characters in chars
Template Parameters
T
Signature
fn <T> fn prefix_length(str: const *T, chars: const *T, exclude: bool = false) -> usize;
Specifiers
constexpr
inline