StringExtension extension

on

Properties

capitalize String
Capitalize each word inside string
no setter
capitalizeFirst String
Uppercase first letter inside string and let the others lowercase
no setter
hasCapitalletter bool
Checks if string contains at least one Capital Letter
no setter
is7Z bool
no setter
isAlphabetOnly bool
Checks if string consist only Alphabet. (No Whitespace)
no setter
isAlphanumeric bool
Check if string is Alphanumeric
no setter
isAPK bool
no setter
isBool bool
Check if string is a boolean
no setter
isCSV bool
no setter
isDOC bool
no setter
isDOCX bool
no setter
isDouble bool
Check if string is a double
no setter
isEmail bool
Check if string is an email
no setter
isGIF bool
no setter
isGZ bool
no setter
isHexColor bool
Check if string is Hex Color
no setter
isInt bool
Check if string is an integer
no setter
isJPEG bool
no setter
isJPG bool
no setter
isLowerCase bool
Check if string is lowercase
no setter
isMP3 bool
no setter
isMP4 bool
no setter
isMPEG bool
no setter
isMPG bool
no setter
isNumeric bool
Check if string is numeric
no setter
isNumericOnly bool
Checks if string consist only numeric. Numeric only doesn't accepting "." which double data type have
no setter
isPDF bool
no setter
isPhoneNumber bool
Check if string is a phone number
no setter
isPNG bool
no setter
isPPT bool
no setter
isPPTX bool
no setter
isRAR bool
no setter
isRTF bool
no setter
isSVG bool
Check if string is a Svg image
no setter
isTAR bool
no setter
isTXT bool
no setter
isUpperCase bool
Check if string is uppercase
no setter
isURL bool
Check if string is URL
no setter
isValidDate bool
Check if string is a valid date
no setter
isXLS bool
no setter
isXLSX bool
no setter
isZIP bool
no setter
removeAllWhitespace String
Remove all whitespace inside string
no setter

Methods

hasMatch(String pattern) bool
ifIsEmpty(String fallback) String