O'Reilly logo

Dojo: Using the Dojo JavaScript Library to Build Ajax Applications by James E. Harmon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13. Strings and JSON

 

Few can touch the magic String, and noisy Fame is proud to win them...

 
 --Oliver Wendell Holmes, 1809–1894

Text Strings

The manipulation of strings is one of the most common processes performed by most computer applications. By some estimates, over 30% of the typical program is devoted to working with strings. Hopefully whatever language you might choose to write your programs in will provide many varied and robust string manipulation functions and methods. In this aspect, JavaScript will not disappoint you. JavaScript provides over 20 methods associated with the string object. However, even this seemingly abundant functionality will usually turn out to be not quite enough.

Remember, a good API will allow a programmer ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required