This topic is now archived and is closed to further replies.


converting a basic_string to lowercase

Recommended Posts

std::transform( str.begin(), str.end(), str.begin(), std::tolower);

[Questions (STFW) | GDNet Start Here | GDNet Search | Forum FAQ | Google | Asking Smart Questions ]
[Docs (RTFM) | MSDN | SGI's STL | OpenGL | File formats]
[C++ Must Haves (RTFS) | MinGW | Boost | Loki | FLTK | SDL ]

Stolen from Magmai Kai Holmlor, who held it from Oluseyi, who was inspired by Kylotan...

[edited by - Fruny on May 1, 2002 12:24:06 AM]

Share this post

Link to post
Share on other sites