Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

JavaScript String Object explanation

Share this post!
 Vote this!


The String object of JavaScript allows you to perform manipulations on a stored piece of text, such as extracting a substring, searching for the occurrence of a certain character within it etc. For example:
var sitename="JavaScript Kit" //example string
alert(sitename.length) //alerts 14, the total number of characters.    more...

0 comments:

Post a Comment