This struct provides a namespace for a suite of functions on bslstl::StringRef references to strings.
Synopsis
Declared in <bdlb_stringrefutil.h>
struct StringRefUtil;
Type Aliases
Name |
Description |
Size type of string references. |
Static Member Functions
Name |
Description |
Return |
|
Return the position of the first non‐matching character in |
|
Return the position of the first matching character in |
|
Return the position of the last non‐matching character in |
|
Return the position of the last matching character in |
|
Compare |
|
Return a string reference with leading whitespace removed. |
|
Return a string reference with trailing whitespace removed. |
|
Return a reference to the last occurrence of |
|
Return a reference to the last case‐insensitive occurrence of |
|
Return a reference to the first occurrence of |
|
Return a reference to the first case‐insensitive occurrence of |
|
Return a substring of |
|
Return a string reference with leading and trailing whitespace removed. |
|
Compare |
Static Data Members
Name |
Description |
Value used to denote "not‐a‐position", guaranteed to be outside the |
Created with MrDocs