src/stringClass.h

changeset 141
68d60e2cfa76
parent 135
8b9132fea327
equal deleted inserted replaced
140:04a6eb68f226 141:68d60e2cfa76
100 String toUppercase() const; 100 String toUppercase() const;
101 int wordPosition (int n) const; 101 int wordPosition (int n) const;
102 102
103 static String fromNumber (int a); 103 static String fromNumber (int a);
104 static String fromNumber (long a); 104 static String fromNumber (long a);
105 static String fromNumber (double a);
105 106
106 String operator+ (const String& data) const; 107 String operator+ (const String& data) const;
107 String operator+ (const char* data) const; 108 String operator+ (const char* data) const;
108 inline String operator+ (int num) const; 109 inline String operator+ (int num) const;
109 inline String& operator+= (const String data); 110 inline String& operator+= (const String data);
138 }; 139 };
139 140
140 inline bool operator== (const char* a, const String& b); 141 inline bool operator== (const char* a, const String& b);
141 inline String operator+ (const char* a, const String& b); 142 inline String operator+ (const char* a, const String& b);
142 143
144 String basename (String const& path);
145 String dirname (String const& path);
146
143 // ============================================================================= 147 // =============================================================================
144 // 148 //
145 // IMPLEMENTATIONS 149 // IMPLEMENTATIONS
146 // 150 //
147 151

mercurial