Returns the substring of a string beginning at a specified index. Optionally, you can specify a length for the substring.
Required. The string from which to obtain substring.
Required. The index of the first character to include in the returned substring.
Optional. The length of the substring. If the parameter is not specified, the substring goes from the beginning index to the end of the original string.