JavaScript String Functions With Example

JavaScript short name (JS) is a dynamic programming language. It can provide the dynamic interactivity on websites when it applied with HTML documents.

It was developed by Brendan Eich, co-founder of the Mozilla project, the Mozilla Foundation, and the Mozilla Corporation.

javasrcipt functions

Below is the list of JavaScript string functions.

SN String Function Example
1 trim()
2 charAt(index)
3 concat(str)
4 lastIndexOf(str)
5 indexOf(str)
6 toLowerCase()
7 toUpperCase()
8 slice(beginIndex, endIndex)
9 split(delimiter, [limit])

If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts:

Article Tags: , , , ,