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

0.4.2

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

    • Optionallength: number

      The number of characters to extract.

    Returns string

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