Determine whether the string begins with the given characters:
| String | 
“The startsWith() method verifies if a string commences with the provided character(s).
Hint: Employ the endsWith() method to ascertain if a string concludes with the specified character(s).”
| public | 
| Parameter | Description | 
| chars | A string that represents the character(s) to be examined. | 
| Returns: | A boolean value is returned: 
 |