StringValidations extension

on

Properties

isValidEmail bool

Available on String, provided by the StringValidations extension

no setter
isValidHexColor bool

Available on String, provided by the StringValidations extension

no setter
isValidPhoneNumber bool

Available on String, provided by the StringValidations extension

no setter
isValidURL bool

Available on String, provided by the StringValidations extension

no setter
pathFilename String

Available on String, provided by the StringValidations extension

no setter
sanitizedFilenameVersion String

Available on String, provided by the StringValidations extension

Returns a version that removes every character that is not a letters and converts all letters to lowercase
no setter
sanitizedVersion String

Available on String, provided by the StringValidations extension

Returns a version that removes every character that is not a letters and converts all letters to lowercase
no setter

Methods

addHtmlMetaViewPortTag(String metaTag) String

Available on String, provided by the StringValidations extension

renameFileInPath(String newName) String

Available on String, provided by the StringValidations extension

stripHtmlTags() String

Available on String, provided by the StringValidations extension

Returns a version that removes any HTML tags and only keeps the text