Javascript String Methods

It will return the letter "o" from Hello

"Hello.charAt(4)"

It will concatenate your strings and will return: "Hello world"

"Hello".concat("","world")

It returns true for the starting letter "H"

"Hello".startWith("H")

It returns true for the lasting letter "o"

"Hello".endsWith("o")

It returns false if contains the letter "X"

"Hello".includes("X")

It returns the first position of the letter "l"

"Hello".indexOf("l")

It returns the last position of the letter "l"

"Hello".lastIndexOf("l")

Regex that will return only the capitalized letters

"Hello".match(/[A-Z]/g/)