Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

String Manipulation Made Easy with std::string Algorithms

These days, it pays to be string-savvy. Along with text processors, spellcheckers, and IDEs, new Web-oriented applications also make heavy use of strings for generating text, processing clients' requests, processing scripts, and logging. Find out how to use the specialized algorithms of class std::string to implement some common string-oriented tasks.


advertisement
ext processors, spellcheckers, and IDEs are just a few classic examples of applications that need to manipulate strings extensively. Web-oriented applications also make heavy use of strings for generating text, processing clients' requests, processing scripts, and logging. Clearly, string-savviness is becoming an important skill in many programming areas. In the following sections, learn how to implement some common string-oriented tasks using std::string and its member functions.

How can you perform case-insensitive comparisons and find and replace operations with string objects?



Use the specialized algorithms of class std::string.



Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap