Most methods are developed for C++, because C#&Java have their own string support.
All methods in the table that do not have a returning type, return a reference to MString
|
|
MString(const char* psz = "")
|
C++, C#, Java
|
ver.1.0
|
|
|
|
MString(String str)
|
C# & Java only
|
ver.1.12
|
|
|
|
MString( )
|
C# & Java only
|
ver.1.12
|
|
|
|
MString(const char* psz, long length)
|
C++ only
|
ver.1.0
|
|
|
|
MString(int,long length)
|
C++ only
|
ver.1.0
|
|
|
|
MString(const MString& mstr)
|
C++ only
|
ver.1.0
|
|
|
|
MString(const int& n)
|
C++ only
|
ver.1.0
|
|
|
|
MString(const long& l)
|
C++ only
|
ver.1.0
|
|
|
|
MString(const char& c)
|
C++ only
|
ver.1.0
|
|
|
|
MString(const float& f)
|
C++ only
|
ver.1.0
|
|
|
|
MString(const double& d)
|
C++ only
|
ver.1.0
|
|
|
|
MString(const unsigned& n)
|
C++ only
|
ver.1.0
|
|
|
|
MString(const long double& ld)
|
C++ only
|
ver.1.0
|
|
|
|
static String toString(bool b)
|
C++ only
|
ver.1.51
|
|
|
|
static String toString(boolen b)
|
Java only
|
ver.1.51
|
|
|
|
static String toString(int n)
|
C# & Java only
|
ver.1.12
|
|
|
|
static String toString(long l)
|
C# & Java only
|
ver.1.12
|
|
|
|
static String toString(char c)
|
C# & Java only
|
ver.1.12
|
|
|
|
static String toString(float f)
|
C# & Java only
|
ver.1.12
|
|
|
|
static String toString(double d)
|
C# & Java only
|
ver.1.12
|
|
|
|
static String toString(MString mstr)
|
C# & Java only
|
ver.1.12
|
|
|
|
static String toString(MFramer mframer)
|
C# & Java only
|
ver.1.12
|
|
|
|
void printOn(ostream& out)
|
C++ only
|
ver.1.0
|
|
|
|
bool isEmpty()
|
C++,C#, Java
|
ver.1.51
|
|
|
|
MString getString(int nBegin, int nEnd)
|
C++ only
|
ver.1.0
|
|
|
|
copy(const char* psz)
|
C++ only
|
ver.1.0
|
|
|
|
copy(const MString& mstr )
|
C++ only
|
ver.1.0
|
|
|
|
concat(const MString& mstr)
|
C++ only
|
ver.1.49
|
|
|
|
reverse()
|
C++ only
|
ver.1.25
|
|
|
|
int compare(const MString& mstr)
|
C++, C#, Java
|
ver.1.51
|
|
|
|
toLower( )
|
C++,C#, Java
|
ver.1.51
|
|
|
|
toUpper()
|
C++,C#, Java
|
ver.1.51
|
|
|
|
toCStr()
|
C++ only
|
ver.1.45
|
|
|
|
long length()
|
C++,C#, Java
|
ver.1.51
|
|
|
|
char* getAddress()
|
C++ only
|
ver.1.43
|
|
|
|
exportToFile(const char* pszFileName)
|
C++, C#, Java
|
ver.1.0
|
|
|
|
exportToFile(MString mstrFileName )
|
C++, C#, Java
|
ver.1.51
|
|
|
|
exportToStream(ostream& out)
|
C++ only
|
ver.1.0
|
|
|
|
importFromFile(const char* pszFileName)
|
C++, C#, Java
|
ver.1.25
|
|
|
|
MString getClassID( )
|
C++, C#, Java
|
ver.1.21
|
|
|
|
MString getObjectID( )
|
C++, C#, Java
|
ver.1.21
|
|
|
|
MString getClassName( )
|
C++, C#, Java
|
ver.1.21
|
|
|
|
perator=(const MString& mstr)
|
C++ only
|
ver.1.0
|
|
|
|
operator+=(const MString& mstr)
|
C++ only
|
ver.1.0
|
|
|
|
operator+(const MString& mstr)
|
C++ only
|
ver.1.0
|
|
|
|
char& operator[](const long& lIndex)
|
C++ only
|
ver.1.25
|
|
|
|
bool operator==(const MString& mstr)
|
C++ only
|
ver.1.0
|
|
|
|
bool operator!=(const MString& mstr)
|
C++ only
|
ver.1.0
|
|
|
|
bool operator<(const MString& mstr)
|
C++ only
|
ver.1.56 NEW!!!
|
|
|
|
bool operator>(const MString& mstr)
|
C++ only
|
ver.1.56 NEW!!!
|
|
|
|
bool operator<=(const MString& mstr)
|
C++ only
|
ver.1.56 NEW!!!
|
|
|
|
bool operator>=(const MString& mstr)
|
C++ only
|
ver.1.56 NEW!!!
|
|
|
|
MString& importFromFile(const char* lpsz)
|
C++ only
|
ver.1.56 NEW!!!
|
|
|
|
int getCounter() const;
|
C++ only
|
ver.1.56 NEW!!!
|
|
|
|
const char* c_str() const
|
C++ only
|
ver.1.56 NEW!!!
|
|
|
|
|
Tell us what you think.
Have you found a bug in programs? Is there an error on our webpages? Do you have praise, opinions, objections or criticism?
Use this feedback form and share it with us!
|
|