JavaScript program to check if a string starts and ends with certain characters:

Created with Sketch.