uuid
sourceConstructors
new uuid(value: any): uuidsource
inherited from
String.constructor
Properties
[species]: "uuid"source
length: numbersource
inherited from
String.length
Returns the length of a String object.
Methods
Static methods
fromHexString(value: string): undefined | uuidsource
A UUID without hyphen separators is not technically abiding by UUID specifications; however, this method is implemented to support DOCS service integration which does return DocumentId using hex representation. This method is implemented to match hyphen-less representation in Python, obtained via UUID.hex property.
fromLiteral<T extends string>(value: LiteralUuid): uuidsource
fromString(value: string): undefined | uuidsource
Inherited methods
[iterator](): IterableIterator<string>source
inherited from
String.[iterator]
Iterator
anchor(name: string): stringsource
inherited from
String.anchor
Returns an <a> HTML anchor element and sets the name attribute to the text value
at(index: number): undefined | stringsource
inherited from
String.at
Returns a new String consisting of the single UTF-16 code unit located at the specified index.
big(): stringsource
inherited from
String.big
Returns a <big> HTML element
blink(): stringsource
inherited from
String.blink
Returns a <blink> HTML element
bold(): stringsource
inherited from
String.bold
Returns a <b> HTML element
charAt(pos: number): stringsource
inherited from
String.charAt
Returns the character at the specified index.
charCodeAt(index: number): numbersource
inherited from
String.charCodeAt
Returns the Unicode value of the character at the specified location.
codePointAt(pos: number): undefined | numbersource
inherited from
String.codePointAt
Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point value of the UTF-16 encoded code point starting at the string element at position pos in the String resulting from converting this object to a String. If there is no element at that position, the result is undefined. If a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.
concat(strings: string[]): stringsource
inherited from
String.concat
Returns a string that contains the concatenation of two or more strings.
endsWith(searchString: string, endPosition: number): booleansource
inherited from
String.endsWith
Returns true if the sequence of elements of searchString converted to a String is the same as the corresponding elements of this object (converted to a String) starting at endPosition – length(this). Otherwise returns false.
fixed(): stringsource
inherited from
String.fixed
Returns a <tt> HTML element
fontcolor(color: string): stringsource
inherited from
String.fontcolor
Returns a <font> HTML element and sets the color attribute value
fontsize(size: number): stringsource
inherited from
String.fontsize
Returns a <font> HTML element and sets the size attribute value
fontsize(size: string): stringsource
inherited from
String.fontsize
Returns a <font> HTML element and sets the size attribute value
includes(searchString: string, position: number): booleansource
inherited from
String.includes
Returns true if searchString appears as a substring of the result of converting this object to a String, at one or more positions that are greater than or equal to position; otherwise, returns false.
indexOf(searchString: string, position: number): numbersource
inherited from
String.indexOf
Returns the position of the first occurrence of a substring.
italics(): stringsource
inherited from
String.italics
Returns an <i> HTML element
lastIndexOf(searchString: string, position: number): numbersource
inherited from
String.lastIndexOf
Returns the last occurrence of a substring in the string.
link(url: string): stringsource
inherited from
String.link
Returns an <a> HTML element and sets the href attribute value
localeCompare(that: string): numbersource
inherited from
String.localeCompare
Determines whether two strings are equivalent in the current locale.
localeCompare(that: string, locales: string | string[], options: CollatorOptions): numbersource
inherited from
String.localeCompare
Determines whether two strings are equivalent in the current or specified locale.
match(regexp: string | RegExp): null | RegExpMatchArraysource
inherited from
String.match
Matches a string with a regular expression, and returns an array containing the results of that search.
match(matcher: Object): null | RegExpMatchArraysource
inherited from
String.match
Matches a string or an object that supports being matched against, and returns an array containing the results of that search, or null if no matches are found.
matchAll(regexp: RegExp): IterableIterator<RegExpMatchArray>source
inherited from
String.matchAll
Matches a string with a regular expression, and returns an iterable of matches containing the results of that search.
normalize(form: "NFC" | "NFD" | "NFKC" | "NFKD"): stringsource
inherited from
String.normalize
Returns the String value result of normalizing the string into the normalization form named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.
normalize(form: string): stringsource
inherited from
String.normalize
Returns the String value result of normalizing the string into the normalization form named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.
padEnd(maxLength: number, fillString: string): stringsource
inherited from
String.padEnd
Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length. The padding is applied from the end (right) of the current string.
padStart(maxLength: number, fillString: string): stringsource
inherited from
String.padStart
Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length. The padding is applied from the start (left) of the current string.
repeat(count: number): stringsource
inherited from
String.repeat
Returns a String value that is made from count copies appended together. If count is 0, the empty string is returned.
replace(searchValue: string | RegExp, replaceValue: string): stringsource
inherited from
String.replace
Replaces text in a string, using a regular expression or search string.
replace(searchValue: string | RegExp, replacer: Function): stringsource
inherited from
String.replace
Replaces text in a string, using a regular expression or search string.
replace(searchValue: Object, replaceValue: string): stringsource
inherited from
String.replace
Passes a string and replaceValue to the [Symbol.replace] method on searchValue. This method is expected to implement its own replacement algorithm.
replace(searchValue: Object, replacer: Function): stringsource
inherited from
String.replace
Replaces text in a string, using an object that supports replacement within a string.
replaceAll(searchValue: string | RegExp, replaceValue: string): stringsource
inherited from
String.replaceAll
Replace all instances of a substring in a string, using a regular expression or search string.
replaceAll(searchValue: string | RegExp, replacer: Function): stringsource
inherited from
String.replaceAll
Replace all instances of a substring in a string, using a regular expression or search string.
search(regexp: string | RegExp): numbersource
inherited from
String.search
Finds the first substring match in a regular expression search.
search(searcher: Object): numbersource
inherited from
String.search
Finds the first substring match in a regular expression search.
slice(start: number, end: number): stringsource
inherited from
String.slice
Returns a section of a string.
small(): stringsource
inherited from
String.small
Returns a <small> HTML element
split(separator: string | RegExp, limit: number): string[]source
inherited from
String.split
Split a string into substrings using the specified separator and return them as an array.
split(splitter: Object, limit: number): string[]source
inherited from
String.split
Split a string into substrings using the specified separator and return them as an array.
startsWith(searchString: string, position: number): booleansource
inherited from
String.startsWith
Returns true if the sequence of elements of searchString converted to a String is the same as the corresponding elements of this object (converted to a String) starting at position. Otherwise returns false.
strike(): stringsource
inherited from
String.strike
Returns a <strike> HTML element
sub(): stringsource
inherited from
String.sub
Returns a <sub> HTML element
substr(from: number, length: number): stringsource
inherited from
String.substr
Gets a substring beginning at the specified location and having the specified length.
substring(start: number, end: number): stringsource
inherited from
String.substring
Returns the substring at the specified location within a String object.
sup(): stringsource
inherited from
String.sup
Returns a <sup> HTML element
toLocaleLowerCase(locales: string | string[]): stringsource
inherited from
String.toLocaleLowerCase
Converts all alphabetic characters to lowercase, taking into account the host environment's current locale.
toLocaleUpperCase(locales: string | string[]): stringsource
inherited from
String.toLocaleUpperCase
Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale.
toLowerCase(): stringsource
inherited from
String.toLowerCase
Converts all the alphabetic characters in a string to lowercase.
toString(): stringsource
inherited from
String.toString
Returns a string representation of a string.
toUpperCase(): stringsource
inherited from
String.toUpperCase
Converts all the alphabetic characters in a string to uppercase.
trim(): stringsource
inherited from
String.trim
Removes the leading and trailing white space and line terminator characters from a string.
trimEnd(): stringsource
inherited from
String.trimEnd
Removes the trailing white space and line terminator characters from a string.
trimLeft(): stringsource
inherited from
String.trimLeft
Removes the leading white space and line terminator characters from a string.
trimRight(): stringsource
inherited from
String.trimRight
Removes the trailing white space and line terminator characters from a string.
trimStart(): stringsource
inherited from
String.trimStart
Removes the leading white space and line terminator characters from a string.
valueOf(): stringsource
inherited from
String.valueOf
Returns the primitive value of the specified object.
fromCharCode(codes: number[]): stringsource
inherited from
String.fromCharCode
fromCodePoint(codePoints: number[]): stringsource
inherited from
String.fromCodePoint
Return the String value whose elements are, in order, the elements in the List elements. If length is 0, the empty string is returned.
raw(template: Object, substitutions: any[]): stringsource
inherited from
String.raw
String.raw is usually used as a tag function of a Tagged Template String. When called as such, the first argument will be a well formed template call site object and the rest parameter will contain the substitution values. It can also be called directly, for example, to interleave strings and values from your own tag function, and in this case the only thing it needs from the first argument is the raw property.