Additional String Methods

Review old string methods and learn the new ones introduced in ES6.

There are many methods that we can use against strings. Here’s a list of a few of them:

  1. indexOf()

Gets the position of the first occurrence of the specified value in a string.

Get hands-on with 1200+ tech skills courses.