Hi Guys..
Plz let me know where can i get STL string user guide.
and d also if u guys can help me.


I want to know is there any method in std::string which can help me convert Lower caase to upper case and vice verssa.

Plz help me out with this. thanks..

>>where can i get STL string user guide
here

use transform() to convert a string to upper or lower case, like this:

#include <algorithm>
#include <string>
<snip>
std::string str = "Hello World";

std::transform(str.begin(), str.end(), str.begin(), ::toupper);
commented: damn your posts are always so informative ! +6
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.