StringExtension extension

on

Properties

isNullOrEmpty bool
isNullOrEmpty extension this extension will check if the string is empty or null
no setter
replaceNullWithDouble double
replaceNullWithDouble method this method will check and replace null with an double value
no setter
replaceNullWithEmpty String
replaceNullWithEmpty method this method will check and replace null with an empty string
no setter
replaceNullWithZero int
replaceNullWithZero extension this method will check and replace null with an integer value
no setter
replaceTrueOrFalse int
replaceTrueOrFalse extension this method will check and replace true/false value with integer value
no setter
toDouble double?
toDouble extension this method can be used on string as an extension to convert a string into double
no setter
toInt int?
toInt extension this method can be used on string as an extension to convert a string into integer
no setter
toThreeDigits String
toThreeDigits extension this extension will convert a string to three digits
no setter
toTwoDigits String
toTwoDigits extension this extension will convert a string to two digits
no setter
trimLastChar String
trimLastChar extension this extension will trim or remove last character from a string
no setter

Methods

toLengthOfString(dynamic lengthOfString) String
toLengthOfString extension this extension will convert a string to the length specified