Class: String

String()

new String()

Source:

Members

(static) guid

Creates a crypto-secure guid
Source:

Methods

asBase64() → {string}

Decodes the current string as base64
Source:
Returns:
Type
string

asJson() → {object}

Parses the current string as JSON
Source:
Returns:
Type
object

asXml() → {Element}

Parses the current string as xml and returns the document xml
Source:
Returns:
Type
Element

toBase64() → {String}

Encodes the current string to base64
Source:
Returns:
Type
String

toHtml() → {string}

Encodes the current String as HTML
Source:
Returns:
Type
string

toUTF16() → {Uint8Array}

Encodes the current String as UTF-16 bytes
Source:
Returns:
Type
Uint8Array

toXml() → {Element}

Parses the current string as XML and returns the documentElement
Source:
Returns:
Type
Element