gft_string.h
Go to the documentation of this file.
1 
2 #ifndef _GFT_STRING_H_
3 #define _GFT_STRING_H_
4 
5 #include "gft_common.h"
6 
7 namespace gft{
8  namespace String{
9 
10  //Removes the leading and trailing white space.
11  void Trim(char *str);
12  void SubString(char *str,
13  int beginIndex,
14  int endIndex);
15  void ReplaceCharacter(char *str,
16  char old_c,
17  char new_c);
18 
19  } //end String namespace
20 } //end gft namespace
21 
22 
23 #endif
24 
25 
26 
Header file for common definitions and function prototypes.
void Trim(char *str)
Definition: gft_string.cpp:7
void SubString(char *str, int beginIndex, int endIndex)
Definition: gft_string.cpp:43
void ReplaceCharacter(char *str, char old_c, char new_c)
Definition: gft_string.cpp:63