There are several new string methods available in ES6. StartsWith is a method that returns a boolean value based on whether the argument passed starts in the string. You can also pass a second argument to determine where in the string to begin from. This method is case sensitive.

See the Pen thecodelog.com - ES6 String Methods 1 by Deano (@deangilewicz) on CodePen.

EndsWith works a similar way to startsWith but this time the second argument passed is the number of characters to check within for the value. This method is case insensitive.

See the Pen thecodelog.com - ES6 String Methods 2 by Deano (@deangilewicz) on CodePen.

Includes checks if the argument passed in appears anywhere in the string. This method is case insensitive.

See the Pen thecodelog.com - ES6 String Methods 3 by Deano (@deangilewicz) on CodePen.

Repeat does what you might it expect and repeats the string the number of times provided by the argument.

See the Pen thecodelog.com - ES6 String Methods 4 by Deano (@deangilewicz) on CodePen.