Some important methods of string you need to know to start with JavaScript

In JavaScript, string manipulation and modification is a key topic that every developer should learn before going through the higher level of this programming language. In computer programming, a string is a sequence of characters, that can be literal constant or variable. In this post, we simply will go through some of the main methods that have a great number of uses in JavaScipt.

1. charAt()

2. concat()

3. endsWith()

4. includes()

5. indexOf()

6. lastIndexOf()

7. replace()

8. startsWith()

9. slice()

10. split()

11. substr()

12. trim()

13. match()

14. toLowerCase()

15. toUpperCase()

A web developer with a strong interest in projects that require both conceptual and analytical thinking. I'm always eager to learn from anyone and everyone.