StringCasingExtension extension
A set of extensions for working with strings.
- on
Properties
- cIsAllCap → bool
-
Available on String, provided by the StringCasingExtension extension
Checks if the string is in all uppercase.no setter - cIsAlphabetOnly → bool
-
Available on String, provided by the StringCasingExtension extension
Checks if the string contains only alphabet characters.no setter - cIsDigit → bool
-
Available on String, provided by the StringCasingExtension extension
Checks if the string represents an integer or a double.no setter - cIsEmail → bool
-
Available on String, provided by the StringCasingExtension extension
Checks if the string is a valid email address.no setter - cIsLowerCase → bool
-
Available on String, provided by the StringCasingExtension extension
Checks if the string is in all lowercase.no setter - cIsPhoneIND → bool
-
Available on String, provided by the StringCasingExtension extension
Checks if the string is a 10-digit Indian phone number.no setter - cIsPhoneNumber → bool
-
Available on String, provided by the StringCasingExtension extension
Checks if the string is a valid phone number.no setter - cIsURL → bool
-
Available on String, provided by the StringCasingExtension extension
Checks if the string is a valid URL.no setter - cReverse → String
-
Available on String, provided by the StringCasingExtension extension
Reverses the characters in the string.no setter - cToBoolean → bool
-
Available on String, provided by the StringCasingExtension extension
Converts certain string values ('true', 'false', '1', '0') to a boolean.no setter - cToCapitalized → String
-
Available on String, provided by the StringCasingExtension extension
Converts the first character of the string to uppercase and the rest to lowercase.no setter - cToCurrencyIND → String
-
Available on String, provided by the StringCasingExtension extension
Converts a number string to Indian currency format.no setter - cToTitleCase → String
-
Available on String, provided by the StringCasingExtension extension
Converts each word in the string to title case.no setter
Methods
-
cToCurrency(
{dynamic removePointValueIfEmpty = true, dynamic symbol = '₹ ', dynamic currencyFormat = 'HI', dynamic decimalDigits = 2}) → String -
Available on String, provided by the StringCasingExtension extension
Converts a number string to a custom currency format.
Static Methods
-
cIsNull(
dynamic value) → bool -
Available on String, provided by the StringCasingExtension extension
Checks if a dynamic value is null.