Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Strings

Hierarchy

  • Strings

Index

Methods

capitalizeFirstLetter

  • capitalizeFirstLetter(str: string): string
  • Parameters

    • str: string

    Returns string

caseFormatter

  • caseFormatter(caseStyle: CaseStyle): (Anonymous function)
  • Parameters

    Returns (Anonymous function)

dir

  • dir(path: string, times?: number): string
  • Parameters

    • path: string
    • Default value times: number = 1

    Returns string

encodeURIComponentPath

  • encodeURIComponentPath(p: string): string
  • Parameters

    • p: string

    Returns string

escapeHTML

  • escapeHTML(str: string): string
  • Parameters

    • str: string

    Returns string

formatCase

  • formatCase(str: string, caseStyle: CaseStyle): string
  • Parameters

    Returns string

generateTimestamp

  • generateTimestamp(date?: Date): string
  • Parameters

    • Default value date: Date = new Date()

    Returns string

isSubstringAt

  • isSubstringAt(str: string, index: number, substr: string): boolean
  • Parameters

    • str: string
    • index: number
    • substr: string

    Returns boolean

markdownToHTML

  • markdownToHTML(markdown: string): string
  • Parameters

    • markdown: string

    Returns string

Protected onAcquire

parseMarkup

  • parseMarkup(markupText: string): string
  • Parameters

    • markupText: string

    Returns string

stripHTML

  • stripHTML(str: string): string
  • Parameters

    • str: string

    Returns string

stripParentDirectoryAccessorsFromPath

  • stripParentDirectoryAccessorsFromPath(path: string): string
  • Parameters

    • path: string

    Returns string

Generated using TypeDoc