Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • String

Index

Methods

anchor

  • anchor(name: string): string

big

  • big(): string
  • Returns a HTML element

    Returns string

blink

  • blink(): string
  • Returns a HTML element

    Returns string

bold

  • bold(): string
  • Returns a HTML element

    Returns string

codePointAt

  • codePointAt(pos: number): number | undefined
  • 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.

    Parameters

    • pos: number

    Returns number | undefined

endsWith

  • endsWith(searchString: string, endPosition?: number): boolean
  • 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.

    Parameters

    • searchString: string
    • Optional endPosition: number

    Returns boolean

fixed

  • fixed(): string
  • Returns a HTML element

    Returns string

fontcolor

  • fontcolor(color: string): string
  • Returns a HTML element and sets the color attribute value

    Parameters

    • color: string

    Returns string

fontsize

  • fontsize(size: number): string
  • fontsize(size: string): string
  • Returns a HTML element and sets the size attribute value

    Parameters

    • size: number

    Returns string

  • Returns a HTML element and sets the size attribute value

    Parameters

    • size: string

    Returns string

includes

  • includes(searchString: string, position?: number): boolean
  • 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.

    Parameters

    • searchString: string

      search string

    • Optional position: number

      If position is undefined, 0 is assumed, so as to search all of the String.

    Returns boolean

italics

  • italics(): string
  • Returns an HTML element

    Returns string

link

  • link(url: string): string

normalize

  • normalize(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string
  • normalize(form?: string): string
  • 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.

    Parameters

    • form: "NFC" | "NFD" | "NFKC" | "NFKD"

      Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default is "NFC"

    Returns string

  • 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.

    Parameters

    • Optional form: string

      Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default is "NFC"

    Returns string

repeat

  • repeat(count: number): string
  • Returns a String value that is made from count copies appended together. If count is 0, the empty string is returned.

    Parameters

    • count: number

      number of copies to append

    Returns string

small

  • small(): string
  • Returns a HTML element

    Returns string

startsWith

  • startsWith(searchString: string, position?: number): boolean
  • 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.

    Parameters

    • searchString: string
    • Optional position: number

    Returns boolean

strike

  • strike(): string
  • Returns a HTML element

    Returns string

sub

  • sub(): string
  • Returns a HTML element

    Returns string

sup

  • sup(): string
  • Returns a HTML element

    Returns string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc