Function prototypes |
Function |
int Find (const string& str, int pos = 0) const |
Find the first occurrence of Str , start from POS |
int Find (const Char* s, int pos = 0) const |
Find The first occurrence of S , start from POS |
int Find (const Char* s, int pos, int n) const /c4> |
Find The first n characters of S from the pos position position |
int Find (const char c, int pos = 0) const /c16> |
Find character c first occurrence position |
int rfind (const string& str, int pos = NPOs) const |
Find the last location of str and find it from POS |
int rfind (const Char* s, int pos = NPOs) const |
Find the last occurrence of S , starting from Pos |
int rfind (const Char* s, int pos, int n) const |
Find the first n characters of S from Pos last position |
int rfind (const char c, int pos = 0) const |
Find character c last occurrence position |
String& Replace (int pos, int n, const string& str) |
Replace n characters from Pos starting with a string str |
String& Replace (int pos, int n, const Char* s) |
Replace n characters starting with Pos As String s |