|
| template<typename TIString> |
| void | etl::trim_from_left (TIString &s, typename TIString::const_pointer trim_characters) |
| template<typename TIString> |
| void | etl::trim_whitespace_left (TIString &s) |
| template<typename TStringView> |
| TStringView | etl::trim_from_view_left (const TStringView &view, typename TStringView::const_pointer trim_characters) |
| template<typename TStringView> |
| TStringView | etl::trim_view_whitespace_left (TStringView &s) |
| template<typename TIString> |
| void | etl::trim_left (TIString &s, typename TIString::const_pointer delimiters) |
| template<typename TStringView> |
| TStringView | etl::trim_view_left (const TStringView &view, typename TStringView::const_pointer delimiters) |
| template<typename TIString> |
| void | etl::trim_from_right (TIString &s, typename TIString::const_pointer trim_characters) |
| template<typename TIString> |
| void | etl::trim_whitespace_right (TIString &s) |
| template<typename TStringView> |
| TStringView | etl::trim_from_view_right (const TStringView &view, typename TStringView::const_pointer trim_characters) |
| template<typename TStringView> |
| TStringView | etl::trim_view_whitespace_right (TStringView &view) |
|
template<typename TIString> |
| void | etl::trim_right (TIString &s, typename TIString::const_pointer delimiters) |
| | trim_right
|
|
template<typename TStringView> |
| TStringView | etl::trim_view_right (const TStringView &view, typename TStringView::const_pointer delimiters) |
| | trim_view_right
|
| template<typename TIString> |
| void | etl::trim_from (TIString &s, typename TIString::const_pointer trim_characters) |
| template<typename TIString> |
| void | etl::trim_whitespace (TIString &s) |
| template<typename TStringView> |
| TStringView | etl::trim_from_view (const TStringView &view, typename TStringView::const_pointer trim_characters) |
| template<typename TStringView> |
| TStringView | etl::trim_view_whitespace (const TStringView &view) |
| template<typename TIString> |
| void | etl::trim (TIString &s, typename TIString::const_pointer delimiters) |
| template<typename TStringView> |
| TStringView | etl::trim_view (const TStringView &view, typename TStringView::const_pointer delimiters) |
|
template<typename TIString> |
| void | etl::left_n (TIString &s, typename TIString::size_type n) |
| | Get up to the first n characters.
|
|
template<typename TStringView> |
| TStringView | etl::left_n_view (const TStringView &view, typename TStringView::size_type n) |
| | Get a view of up to the first n characters.
|
|
template<typename TIString> |
| void | etl::right_n (TIString &s, typename TIString::size_type n) |
| | Get up to the last n characters.
|
|
template<typename TStringView> |
| TStringView | etl::right_n_view (const TStringView &view, typename TStringView::size_type n) |
| | Get a view of up to the last n characters.
|
| template<typename TIString> |
| void | etl::reverse (TIString &s) |
|
template<typename TIString, typename TPair> |
| void | etl::replace_characters (TIString &s, const TPair *pairsbegin, const TPair *pairsend) |
| | replace_characters
|
|
template<typename TIString, typename TPair> |
| void | etl::replace_strings (TIString &s, const TPair *pairsbegin, const TPair *pairsend) |
| | replace_strings
|
|
template<typename TIterator, typename TPointer> |
| TIterator | etl::find_first_of (TIterator first, TIterator last, TPointer delimiters) |
| | Find first of any of delimiters within the string.
|
|
template<typename TIString, typename TPointer> |
| TIString::iterator | etl::find_first_of (TIString &s, TPointer delimiters) |
| | Find first of any of delimiters within the string.
|
|
template<typename TIString, typename TPointer> |
| TIString::const_iterator | etl::find_first_of (const TIString &s, TPointer delimiters) |
| | Find first of any of delimiters within the string.
|
|
template<typename TIterator, typename TPointer> |
| TIterator | etl::find_first_not_of (TIterator first, TIterator last, TPointer delimiters) |
| | Find first not of any of delimiters within the string.
|
|
template<typename TIString, typename TPointer> |
| TIString::iterator | etl::find_first_not_of (TIString &s, TPointer delimiters) |
| | Find first not of any of delimiters within the string.
|
|
template<typename TIString, typename TPointer> |
| TIString::const_iterator | etl::find_first_not_of (const TIString &s, TPointer delimiters) |
| | Find first not of any of delimiters within the string.
|
|
template<typename TIterator, typename TPointer> |
| TIterator | etl::find_last_of (TIterator first, TIterator last, TPointer delimiters) |
| | Find last of any of delimiters within the string.
|
|
template<typename TIString, typename TPointer> |
| TIString::iterator | etl::find_last_of (TIString &s, TPointer delimiters) |
| | Find last of any of delimiters within the string.
|
|
template<typename TIString, typename TPointer> |
| TIString::const_iterator | etl::find_last_of (const TIString &s, TPointer delimiters) |
| | Find last of any of delimiters within the string.
|
|
template<typename TIterator, typename TPointer> |
| TIterator | etl::find_last_not_of (TIterator first, TIterator last, TPointer delimiters) |
| | Find last not of any of delimiters within the string.
|
|
template<typename TIString, typename TPointer> |
| TIString::iterator | etl::find_last_not_of (TIString &s, TPointer delimiters) |
| | Find last not of any of delimiters within the string.
|
|
template<typename TIString, typename TPointer> |
| TIString::const_iterator | etl::find_last_not_of (const TIString &s, TPointer delimiters) |
| | Find last not of any of delimiters within the string.
|
|
template<typename TInput, typename TStringView> |
| etl::optional< TStringView > | etl::get_token (const TInput &input, typename TInput::const_pointer delimiters, const etl::optional< TStringView > &last_view, bool ignore_empty_tokens) |
| | get_token
|
| template<typename TInput, typename TOutput> |
| bool | etl::get_token_list (const TInput &input, TOutput &output, typename TInput::const_pointer delimiters, bool ignore_empty_tokens, size_t max_n_tokens=etl::integral_limits< size_t >::max) |
| | Splits a string of tokens to a set of views, according to a set of delimiters. The tokenisation stops if:
|
|
template<typename TIString> |
| void | etl::pad_left (TIString &s, typename TIString::size_type required_size, typename TIString::value_type pad_char) |
| | pad_left
|
|
template<typename TIString> |
| void | etl::pad_right (TIString &s, typename TIString::size_type required_size, typename TIString::value_type pad_char) |
| | pad_right
|
|
template<typename TIString> |
| void | etl::pad (TIString &s, typename TIString::size_type required_size, string_pad_direction pad_direction, typename TIString::value_type pad_char) |
| | pad
|
|
template<typename TString> |
| void | etl::to_upper_case (TString &s) |
| | to_upper_case
|
|
template<typename TString> |
| void | etl::to_lower_case (TString &s) |
| | to_lower_case
|
|
template<typename TString> |
| void | etl::to_sentence_case (TString &s) |
| | to_sentence_case
|
|
template<typename T> |
| str_n_copy_result | etl::str_n_copy (const T *src, size_t n, T *dst) |