StringExtension extension

on

Properties

capitalize String

Available on String, provided by the StringExtension extension

Capitalize each word inside string
no setter
capitalizeFirst String

Available on String, provided by the StringExtension extension

Uppercase first letter inside string and let the others lowercase
no setter
hasCapitalletter bool

Available on String, provided by the StringExtension extension

Checks if string contains at least one Capital Letter
no setter
is7Z bool

Available on String, provided by the StringExtension extension

no setter
isAlphabetOnly bool

Available on String, provided by the StringExtension extension

Checks if string consist only Alphabet. (No Whitespace)
no setter
isAlphanumeric bool

Available on String, provided by the StringExtension extension

Check if string is Alphanumeric
no setter
isAPK bool

Available on String, provided by the StringExtension extension

no setter
isBool bool

Available on String, provided by the StringExtension extension

Check if string is a boolean
no setter
isCSV bool

Available on String, provided by the StringExtension extension

no setter
isDOC bool

Available on String, provided by the StringExtension extension

no setter
isDOCX bool

Available on String, provided by the StringExtension extension

no setter
isDouble bool

Available on String, provided by the StringExtension extension

Check if string is a double
no setter
isEmail bool

Available on String, provided by the StringExtension extension

Check if string is an email
no setter
isGIF bool

Available on String, provided by the StringExtension extension

no setter
isGZ bool

Available on String, provided by the StringExtension extension

no setter
isHexColor bool

Available on String, provided by the StringExtension extension

Check if string is Hex Color
no setter
isInt bool

Available on String, provided by the StringExtension extension

Check if string is an integer
no setter
isJPEG bool

Available on String, provided by the StringExtension extension

no setter
isJPG bool

Available on String, provided by the StringExtension extension

no setter
isLowerCase bool

Available on String, provided by the StringExtension extension

Check if string is lowercase
no setter
isMP3 bool

Available on String, provided by the StringExtension extension

no setter
isMP4 bool

Available on String, provided by the StringExtension extension

no setter
isMPEG bool

Available on String, provided by the StringExtension extension

no setter
isMPG bool

Available on String, provided by the StringExtension extension

no setter
isNumeric bool

Available on String, provided by the StringExtension extension

Check if string is numeric
no setter
isNumericOnly bool

Available on String, provided by the StringExtension extension

Checks if string consist only numeric. Numeric only doesn't accepting "." which double data type have
no setter
isPDF bool

Available on String, provided by the StringExtension extension

no setter
isPhoneNumber bool

Available on String, provided by the StringExtension extension

Check if string is a phone number
no setter
isPNG bool

Available on String, provided by the StringExtension extension

no setter
isPPT bool

Available on String, provided by the StringExtension extension

no setter
isPPTX bool

Available on String, provided by the StringExtension extension

no setter
isRAR bool

Available on String, provided by the StringExtension extension

no setter
isRTF bool

Available on String, provided by the StringExtension extension

no setter
isSVG bool

Available on String, provided by the StringExtension extension

Check if string is a Svg image
no setter
isTAR bool

Available on String, provided by the StringExtension extension

no setter
isTXT bool

Available on String, provided by the StringExtension extension

no setter
isUpperCase bool

Available on String, provided by the StringExtension extension

Check if string is uppercase
no setter
isURL bool

Available on String, provided by the StringExtension extension

Check if string is URL
no setter
isValidDate bool

Available on String, provided by the StringExtension extension

Check if string is a valid date
no setter
isXLS bool

Available on String, provided by the StringExtension extension

no setter
isXLSX bool

Available on String, provided by the StringExtension extension

no setter
isZIP bool

Available on String, provided by the StringExtension extension

no setter
removeAllWhitespace String

Available on String, provided by the StringExtension extension

Remove all whitespace inside string
no setter

Methods

hasMatch(String pattern) bool

Available on String, provided by the StringExtension extension

ifIsEmpty(String fallback) String

Available on String, provided by the StringExtension extension