Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace String

Index

Functions

  • charAt(s: string, i: number): string
  • charCodeAt(s: string, i: number): number
  • codePointAt(s: string, i: number): number
  • concat(s: string, ...ss: string[]): string
  • endsWith(s: string, c: string, pos?: number): boolean
  • includes(s: string, n: string): boolean
  • indexOf(s: string, n: string): number
  • lastIndexOf(s: string, n: string): number
  • localeCompare(s: string, n: string, local?: string | string[], params?: object): boolean
  • Parameters

    • s: string
    • n: string
    • Optional local: string | string[]
    • Optional params: object

    Returns boolean

  • match(s: string, n: string | RegExp): RegExpMatchArray
  • matchAll(s: string, n: RegExp): IterableIterator<RegExpMatchArray>
  • normalize(s: string, n: "NFC" | "NFD" | "NFKC" | "NFKD"): string
  • padEnd(s: string, n: number, f?: string): string
  • padStart(s: string, n: number, f?: string): string
  • repeat(s: string, n: number): string
  • replace(s: string, n: string | RegExp, ns: string): string
  • search(s: string, n: RegExp): number
  • slice(s: string, start: number, end?: number): string
  • split(s: string, sep: string, end?: number): string[]
  • startsWith(s: string, c?: string, pos?: number): boolean
  • substring(s: string, start: number, end?: number): string
  • toLocaleLowerCase(s: string, local: string | string[]): string
  • toLocaleUpperCase(s: string, local: string | string[]): string
  • toLowerCase(s: string): string
  • toString<A>(s: A): string
  • toUpperCase(s: string): string
  • trim(s: string): string
  • trimEnd(s: string): string
  • trimStart(s: string): string
  • valueOf(s: string): string

Generated using TypeDoc