StringUtils

StringUtils ⇐ Class

Deprecated

Kind: global class
Extends: Class

StringUtils()

This static class represents StringUtils. It provides several tools to work with Strings

capitalizeFirstLetter(string) ⇒ string

Capitalize the first letter of a string

Kind: static method of StringUtils

ParamTypeDescription
stringstring

The string to compute

lowercaseFirstLetter(string) ⇒ string

Lowercase the first letter of a string

Kind: static method of StringUtils

ParamTypeDescription
stringstring

The string to compute

base64Encode(data) ⇒ string

Encode data to a base-64 string

Kind: static method of StringUtils
Returns: string - A Base-64 encoded representation of the data
See: https://en.wikipedia.org/wiki/Base64

ParamTypeDescription
datastring

The data to encode

base64Decode(b64String) ⇒ string

Decode a base-64 string

Kind: static method of StringUtils
Returns: string - Data decoded from the base-64 encoded input string
See: https://en.wikipedia.org/wiki/Base64

ParamTypeDescription
b64String*

The base-64 encoded data