File indexing completed on 2024-04-28 15:35:16
0001 /*************************************************************************** 0002 * Copyright (C) 2004 by Tomas Mecir * 0003 * kmuddy@kmuddy.org * 0004 * * 0005 * This program is free software; you can redistribute it and/or modify * 0006 * it under the terms of the GNU Library General Public License as * 0007 * published by the Free Software Foundation; either version 2 of the * 0008 * License, or (at your option) any later version. * 0009 * * 0010 * This program is distributed in the hope that it will be useful, * 0011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 0012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 0013 * GNU Library General Public License for more details. * 0014 ***************************************************************************/ 0015 0016 #include <string> 0017 0018 /** return a lower-case version of the string */ 0019 std::string lcase (const std::string &str); 0020 /** return a upper-case version of the string */ 0021 std::string ucase (const std::string &str); 0022 /** first word of a string */ 0023 std::string firstword (const std::string &str);