src/str.h

changeset 82
841562f5a32f
parent 75
bf8c57437231
child 85
264a61e9eba0
equal deleted inserted replaced
81:071715c17296 82:841562f5a32f
88 float to_float (bool* ok = null) const; 88 float to_float (bool* ok = null) const;
89 long to_long (bool* ok = null, int base = 10) const; 89 long to_long (bool* ok = null, int base = 10) const;
90 void trim (length_type n); 90 void trim (length_type n);
91 string to_uppercase() const; 91 string to_uppercase() const;
92 92
93 string operator+ (const string data) const; 93 string operator+ (const string& data) const;
94 string operator+ (const char* data) const; 94 string operator+ (const char* data) const;
95 string operator+ (int num) const;
95 string& operator+= (const string data); 96 string& operator+= (const string data);
96 string& operator+= (const char* data); 97 string& operator+= (const char* data);
98 string& operator+= (int num);
97 99
98 static string from_number (int a); 100 static string from_number (int a);
99 static string from_number (long a); 101 static string from_number (long a);
100 102
101 inline bool is_empty() const 103 inline bool is_empty() const

mercurial