I think I can safely say that nobody understands quantum mechanics.” Richard Feynman
A resource for web developers a code snippet library with step by step tutorials.

a resource for web developers...

       

Search Amazon

JavaScript: Strings tutorial code snippet 4.

 

Up Up to JavaScript: Strings overview page

 

 

Use of the String object property 'length'.

Combined with the method 'charAt()' to find the last character in a string.

Using method 'charCodeAt()' to find the Unicode value of a character.

 





Output view



Back to top

 

Bookmark and Share

 

Copyright © 2006-2010 justfigures.co.uk