Optional
start: numberThe index to the beginning of the specified portion of stringObj.
Optional
end: numberThe index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end. If this value is not specified, the substring continues to the end of stringObj.
Returns a section of a string.