StringExtensions extension
- on
Properties
- isEmail → bool
-
Available on String, provided by the StringExtensions extension
Checks if string is emailno setter - isNotNullOrEmpty → bool
-
Available on String, provided by the StringExtensions extension
Checks if string is not emptyno setter - isNullOrEmpty → bool
-
Available on String, provided by the StringExtensions extension
Checks if string is empty or nullno setter - isNumeric → bool
-
Available on String, provided by the StringExtensions extension
Checks if string is numericno setter - isPhoneNumber → bool
-
Available on String, provided by the StringExtensions extension
Checks if string is phone numberno setter - isUrl → bool
-
Available on String, provided by the StringExtensions extension
Checks if string is URLno setter - removeHtmlTags → String
-
Available on String, provided by the StringExtensions extension
Removes HTML tagsno setter - removeWhitespace → String
-
Available on String, provided by the StringExtensions extension
Removes all whitespaceno setter - reversed → String
-
Available on String, provided by the StringExtensions extension
Reverses the stringno setter - titleCase → String
-
Available on String, provided by the StringExtensions extension
Converts to title caseno setter - toDouble → double?
-
Available on String, provided by the StringExtensions extension
Converts string to double safelyno setter - toInt → int?
-
Available on String, provided by the StringExtensions extension
Converts string to int safelyno setter - wordCount → int
-
Available on String, provided by the StringExtensions extension
Counts words in stringno setter
Methods
-
capitalizeEachWord(
) → String -
Available on String, provided by the StringExtensions extension
Capitalizes each word in string -
capitalizeFirst(
) → String -
Available on String, provided by the StringExtensions extension
Capitalizes first letter of string -
truncate(
int maxLength) → String -
Available on String, provided by the StringExtensions extension
Truncates string with ellipsis