StringExtensions extension
- on
Properties
- hardTrim → String?
-
Available on String?, provided by the StringExtensions extension
returnSting
without any spacesno setter - isDateTime → bool
-
Available on String?, provided by the StringExtensions extension
check the string can be DateTimeno setter - isDouble → bool
-
Available on String?, provided by the StringExtensions extension
check the string can be doubleno setter - isInternationalEgyptianPhone → bool
-
Available on String?, provided by the StringExtensions extension
check string is international egyptian phoneno setter - isInternationalKsaPhone → bool
-
Available on String?, provided by the StringExtensions extension
no setter - isLocalEgyptianPhone → bool
-
Available on String?, provided by the StringExtensions extension
check string is local egyptian phoneno setter - isLocalKsaPhone → bool
-
Available on String?, provided by the StringExtensions extension
check string is local ksa phoneno setter - isNullOrEmpty → bool
-
Available on String?, provided by the StringExtensions extension
check the string is null or emptyno setter - isNullOrEmptyOrWhiteSpace → bool
-
Available on String?, provided by the StringExtensions extension
check the string is null or empty or whitespaceno setter
Methods
-
arabicToEnglishNumbers(
) → String? -
Available on String?, provided by the StringExtensions extension
will convert from arabic numbers to english numbers -
englishToArabicNumbers(
) → String? -
Available on String?, provided by the StringExtensions extension
will convert from english numbers to arabic numbers -
equal(
String? str) → bool -
Available on String?, provided by the StringExtensions extension
returntrue
if the are equals with case matching -
equalIgnoreCase(
String? str) → bool -
Available on String?, provided by the StringExtensions extension
returntrue
if the are equals without case matching -
parseIsoDuration(
) → Duration? -
Available on String?, provided by the StringExtensions extension
convert ISO_8601 duration to dart duration copied from iso_duration_parser package -
toChars(
) → List< String> -
Available on String?, provided by the StringExtensions extension
queen
will return'q','u','e','e','n'
-
toDate(
) → DateTime? -
Available on String?, provided by the StringExtensions extension
convertString
toDateTime
if is possible else will return null -
toDouble(
) → double? -
Available on String?, provided by the StringExtensions extension
convertString
todouble
if is possible else will return null -
toInt(
) → int? -
Available on String?, provided by the StringExtensions extension
convertString
toint
if is possible else will return null -
toNumber(
) → num? -
Available on String?, provided by the StringExtensions extension
convertString
tonum
if is possible else will return null