Function middle

  • Get a portion of string from middle.

    Parameters

    • x: string

      a string

    • start: number

      start index

    • count: number = 1

      number of characters [1]

    Returns string

    x[i:i+n] | i = start, n = count

Generated using TypeDoc