#include <string.h>
#include <ctype.h>
#include "CTB.hxx"
#include "CTB_Trace.hxx"
#include "CTBosFill.hxx"
#include "CTBstring.hxx"
#include "CTBnum.hxx"
#include "CTBcstringBase.hxx"
Include dependency graph for CTBstring.cxx:
Go to the source code of this file.
Functions | |
CTBint | string_length (const char *c_str) |
CTBint | string_length (const char *c_str, CTBint i_max) |
Definition in file CTBstring.cxx.
|
helper to determine string length.
Returns 0 if c_str is null, otherwise the result from Definition at line 35 of file CTBstring.cxx. |
|
helper to determine substring length. Returns 0 if str is null, otherwise the length of the string starting at c_str with at most i_max characters. The returned length is < i_max is a termination null characters is found in the first i_max characters, otherwise the result is i_max. If i_max is < 0, a length of 0 is returned. Definition at line 50 of file CTBstring.cxx. Referenced by CTBstring::Append(), CTBstring::CTBstring(), CTBstring::Compare(), CTBstring::CompareCaseBlind(), CTBstring::Copy(), CTBstring::FindCharacter(), and CTBstring::operator+().
|