My Project: openb3dlib.mod/openb3d/src/string_helper.h Source File

My Project

string_helper.h
Go to the documentation of this file.
1 /*
2 * string_helper.h
3 * iminib3d
4 *
5 * Created by Simon Harrison.
6 * Copyright Si Design. All rights reserved.
7 *
8 */
9
10 #ifndef STRING_HELPER_H
11 #define STRING_HELPER_H
12
13 #include <string>
14 using namespace std;
15
16 string Left(string s,int length);
17 string Right(string s,unsigned int length);
18 string Mid(string s,int offset,int characters=0);
19 string Replace(string s,string find,string replace);
20 int Instr(string s1,string s2,int offset=0);
21 string Upper(string s);
22 string Lower(string s);
23 string Trim(string s);
24 string Chr(int asc);
25 int Asc(string s);
26 int Len(string s);
27 string Split(string s,string splitter,int count);
28
29 #endif
Asc
int Asc(string s)
Definition: string_helper.cpp:120
Left
string Left(string s, int length)
Definition: string_helper.cpp:15
std
Right
string Right(string s, unsigned int length)
Definition: string_helper.cpp:22
Mid
string Mid(string s, int offset, int characters=0)
Definition: string_helper.cpp:31
Len
int Len(string s)
Definition: string_helper.cpp:126
Trim
string Trim(string s)
Definition: string_helper.cpp:96
Replace
string Replace(string s, string find, string replace)
Definition: string_helper.cpp:40
Chr
string Chr(int asc)
Definition: string_helper.cpp:111
Lower
string Lower(string s)
Definition: string_helper.cpp:88
Instr
int Instr(string s1, string s2, int offset=0)
Definition: string_helper.cpp:64
Split
string Split(string s, string splitter, int count)
Definition: string_helper.cpp:133
Upper
string Upper(string s)
Definition: string_helper.cpp:80