Note: Get string's sub string. Syntax: stringName.substr(param1, param2) Parameters: param1 Required; the character number. param2 Required; the length of the subset string.