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.

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

Recommended Posts:


Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of FreeWebMentor.com (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.

Article Tags: , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Solved Programs