StringFormatExtensions extension
String format extensions
- on
Properties
- isChinese → bool
-
Available on String, provided by the StringFormatExtensions extension
Verifies that the string is composed entirely of Chinese characters. It can be used for validating input meant to be in Chinese without any foreign characters.no setter - isChineseMobile → bool
-
Available on String, provided by the StringFormatExtensions extension
Determines if the string is a valid Chinese mobile phone number based on the pattern.no setter - isEmail → bool
-
Available on String, provided by the StringFormatExtensions extension
Checks if the string is in a valid email format.no setter - isEnglish → bool
-
Available on String, provided by the StringFormatExtensions extension
Checks if the string contains only English alphabet characters (A-Z, a-z). This can be useful for validating names or words that should not include numbers or symbols.no setter - isNullOrWhiteSpace → bool
-
Available on String, provided by the StringFormatExtensions extension
Checks if the string is either null, empty, or contains only whitespace characters. This is useful for validating input fields where a meaningful string is required.no setter - isNumeric → bool
-
Available on String, provided by the StringFormatExtensions extension
Determines whether the string consists solely of numeric characters (0-9). This can be used to validate if a string represents a valid integer.no setter - isValidHex → bool
-
Available on String, provided by the StringFormatExtensions extension
Checks if the string is a valid hexadecimal number.no setter - isValidUrl → bool
-
Available on String, provided by the StringFormatExtensions extension
Determines whether the string is a valid URL.no setter