Class: StringUtils

StringUtils()

Class with utility methods related to strings.

Constructor

new StringUtils()

Author:
  • Mihail Radkov
  • Svilen Velikov
Source:

Methods

(static) isBlank(string) → {boolean}

Tells if the provided string is null or blank ignoring whitespace characters.

Parameters:
Name Type Description
string string

the string to check

Source:
Returns:

true if the string is blank or false otherwise

Type
boolean

(static) isNotBlank(string) → {boolean}

Tells if the provided string is NOT null and NOT blank ignoring whitespace characters.

Parameters:
Name Type Description
string string

the string to check

Source:
Returns:

true if the string is not blank or false otherwise

Type
boolean