Function polyStrSubstr

  • The polyStrSubstr() method returns a portion of the string, starting at the specified index and extending for a given number of characters afterwards.

    Parameters

    • value: string

      The string value to return the substring from.

    • start: number

      The index of the first character to include in the returned substring.

    • Optional length: number

      The number of characters to extract.

    Returns string

    A new string containing the specified part of the given string.

    Since

    0.4.2