Expand description
Predicates for strings.
Structs§
- Ascii
- Checks if the string is valid ASCII.
- Contains
- Checks if the string contains the specified string
S. - Contains
Char - Checks if the string contains the specified character
C. - Ends
With - Checks if the string ends with the specified suffix
S. - Ends
With Char - Checks if the string ends with the specified character
C. - Starts
With - Checks if the string starts with the specified prefix
P. - Starts
With Char - Checks if the string starts with the specified character
C. - Trimmed
- Checks if the string is trimmed.
- Trimmed
End - Checks if the string is trimmed at the end.
- Trimmed
Start - Checks if the string is trimmed at the start.
Constants§
- ASCII
- The
str::asciiliteral. - ASCII_
MESSAGE - The
ascii stringmessage. - CONTAINS
- The
str::containsliteral. - ENDS_
WITH - The
str::ends_withliteral. - STARTS_
WITH - The
str::starts_withliteral. - TRIMMED
- The
str::trimmedliteral. - TRIMMED_
END - The
str::trimmed_endliteral. - TRIMMED_
END_ MESSAGE - The
string trimmed at the endmessage. - TRIMMED_
MESSAGE - The
trimmed stringmessage. - TRIMMED_
START - The
str::trimmed_startliteral. - TRIMMED_
START_ MESSAGE - The
string trimmed at the startmessage.