The zero-based index number indicating the beginning of the substring.
Optional
end: numberZero-based index number indicating the end of the substring. The substring includes the characters up to, but not including, the character indicated by end. If end is omitted, the characters from start through the end of the original string are returned.
Returns the substring at the specified location within a String object.