diff options
Diffstat (limited to 'src/StringUtil.cc')
-rw-r--r-- | src/StringUtil.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/StringUtil.cc b/src/StringUtil.cc index 1a9e7f1..d37446a 100644 --- a/src/StringUtil.cc +++ b/src/StringUtil.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: StringUtil.cc,v 1.11 2002/08/14 22:43:30 fluxgen Exp $ | 22 | // $Id: StringUtil.cc,v 1.12 2002/09/15 09:40:51 fluxgen Exp $ |
23 | 23 | ||
24 | #include "StringUtil.hh" | 24 | #include "StringUtil.hh" |
25 | 25 | ||
@@ -133,4 +133,9 @@ int getStringBetween(std::string& out, const char *instr, const char first, cons | |||
133 | return (j+1+total_add); | 133 | return (j+1+total_add); |
134 | } | 134 | } |
135 | 135 | ||
136 | void toLower(char * const conv) { | ||
137 | for (int byte_pos = 0; byte_pos < strlen(conv); ++byte_pos) | ||
138 | conv[byte_pos] = tolower(conv[byte_pos]); | ||
139 | } | ||
140 | |||
136 | }; //end namespace StringUtil | 141 | }; //end namespace StringUtil |