StringManipulation extension

on

Properties

emoji → String

Available on String, provided by the StringManipulation extension

Get Emoji from Country Code Symbol Like "NP".emoji return nepal flag (🇳🇵)
no setter
extention → String

Available on String, provided by the StringManipulation extension

from string apple.txt returm txt
no setter
fileName → String

Available on String, provided by the StringManipulation extension

from path like apple/ball.txt returns ball.txt
no setter
formatEmailToStar → String

Available on String, provided by the StringManipulation extension

Convert test@gmail.com to t****@gmail.com
no setter
getFirstName → String

Available on String, provided by the StringManipulation extension

from string John Doe returns John
no setter
getLastName → String

Available on String, provided by the StringManipulation extension

from string John Doe returns Doe
no setter
isImage → bool

Available on String, provided by the StringManipulation extension

from fileName as image extentions return true
no setter
isNotEmptyOrNull → String?

Available on String, provided by the StringManipulation extension

Returns null for a empty String
no setter
isPdf → bool

Available on String, provided by the StringManipulation extension

from fileName as test.pdf return true
no setter
removeLast → String

Available on String, provided by the StringManipulation extension

Removing last element form string a="qwer"; b = a.removerLast print(b) returns qwe
no setter
toCapitalizeEachWord → String

Available on String, provided by the StringManipulation extension

no setter
toCapitalizeFirst → String

Available on String, provided by the StringManipulation extension

no setter
toOneWord → String

Available on String, provided by the StringManipulation extension

from string John Doe returns JohnDoe
no setter
wordToSentence → String

Available on String, provided by the StringManipulation extension

Convert lowerCamelCase word to sentence Like a = "appleBallCat" a.worldToSentence results Apple Ball Cat
no setter