Subversion Repositories spk

Rev

Rev 121 | Rev 127 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 121 Rev 126
Line 34... Line 34...
34
 
34
 
35
	virtual ~String(void);
35
	virtual ~String(void);
36
 
36
 
37
	// conversion functions
37
	// conversion functions
38
	void fromLong(long l);
38
	void fromLong(long l);
39
	void fromFloat(float f, int dp = -1);
39
	const String &fromFloat(float f, int dp = -1);
40
	void fromDouble(double f);
40
	void fromDouble(double f);
41
	void fromDouble(double f, int dp);
41
	void fromDouble(double f, int dp);
42
	const String &format(const char *sFormat, ...);
42
	const String &format(const char *sFormat, ...);
43
	const String &arg(const String &s1);
43
	const String &arg(const String &s1);
44
	const String &arg(const String &s1, const String &s2);
44
	const String &arg(const String &s1, const String &s2);
Line 139... Line 139...
139
	String *tokenise(const char *token, int *max) const;
139
	String *tokenise(const char *token, int *max) const;
140
	String replaceToken(const char *token, int from, const String &replace) const;
140
	String replaceToken(const char *token, int from, const String &replace) const;
141
	String remToken(const char *token, int t) const;
141
	String remToken(const char *token, int t) const;
142
	String word(int word) const;
142
	String word(int word) const;
143
	String words(int from, int to = 0) const;
143
	String words(int from, int to = 0) const;
-
 
144
	String addToken(const char *token, const Utils::String &str) const;
144
	
145
	
145
	// find/replacement
146
	// find/replacement
146
	int findPos(const String &find, int iStartPos = 0) const;
147
	int findPos(const String &find, int iStartPos = 0) const;
147
	String findReplace(const String &find, const String &replace ) const;
148
	String findReplace(const String &find, const String &replace ) const;
148
	String remove(char c) const;
149
	String remove(char c) const;
Line 150... Line 151...
150
	const String &removeChar(const char *cs);
151
	const String &removeChar(const char *cs);
151
	String findRemove(const String &find) const;
152
	String findRemove(const String &find) const;
152
	String stripHtml() const;
153
	String stripHtml() const;
153
	String removeIf(int iChar, char c) const;
154
	String removeIf(int iChar, char c) const;
154
 
155
 
-
 
156
	bool contains(const String &str, bool bCaseSensative = false) const;
-
 
157
	bool contains(char c, bool bCaseSensative = false) const;
155
	bool isin(const String &str, bool bCaseSensative = false) const;
158
	bool isin(const String &str, bool bCaseSensative = false) const;
156
	bool isin(char c, bool bCaseSensative = false) const;
159
	bool isin(char c, bool bCaseSensative = false) const;
157
	int compareVersion(const Utils::String &v) const;
160
	int compareVersion(const Utils::String &v) const;
158
 
161
 
159
	// sub string
162
	// sub string