StringNonNullX extension

on

Properties

isBlank → bool

Available on String, provided by the StringNonNullX extension

Returns true if string is blank (empty or only whitespace)
no setter
isEmpty → bool

Available on String, provided by the StringNonNullX extension

Returns true if string is empty
no setter
isNotBlank → bool

Available on String, provided by the StringNonNullX extension

Returns true if string is not blank
no setter
isNotEmpty → bool

Available on String, provided by the StringNonNullX extension

Returns true if string is not empty
no setter

Methods

capitalize() → String

Available on String, provided by the StringNonNullX extension

Capitalizes the first letter of the string
containsInMiddle(String pattern) → bool

Available on String, provided by the StringNonNullX extension

toTitleCase() → String

Available on String, provided by the StringNonNullX extension

Converts the string to Title Case