Expand description
Predicates for strings.
Structsยง
- Contains
- Checks if the string contains the specified string
S. - Contains
Char - Checks if the string contains the specified character
C. - Contains
Char Error - Represents errors that occur when the string does not contain
character. - Contains
Error - Represents errors that occur when the string does not contain
string. - 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. - Ends
With Char Error - Represents errors that occur when the string does not end with
endcharacter. - Ends
With Error - Represents errors that occur when the string does not end with
suffix. - IsAscii
- Checks if the string is valid ASCII.
- IsAscii
Error - Represents errors that occur when the string is not valid ASCII.
- IsTrimmed
- Checks if the string is trimmed.
- IsTrimmed
End - Checks if the string is trimmed at the end.
- IsTrimmed
EndError - Represents errors that occur when the string is not trimmed at the end.
- IsTrimmed
Error - Represents errors that occur when the string is not trimmed.
- IsTrimmed
Start - Checks if the string is trimmed at the start.
- IsTrimmed
Start Error - Represents errors that occur when the string is not trimmed at the start.
- Matches
regex - Checks if the string matches the specified pattern
S. - Mismatch
Error regex - Represents errors that occur when the string does not match the expected
pattern. - Starts
With - Checks if the string starts with the specified prefix
S. - Starts
With Char - Checks if the string starts with the specified character
C. - Starts
With Char Error - Represents errors that occur when the string does not start with
startcharacter. - Starts
With Error - Represents errors that occur when the string does not start with
prefix.