91 void __cdecl sprintf(const char* fmtstr, ...); |
91 void __cdecl sprintf(const char* fmtstr, ...); |
92 bool startsWith(const String &other) const; |
92 bool startsWith(const String &other) const; |
93 const std::string& stdString() const; |
93 const std::string& stdString() const; |
94 void strip(char unwanted); |
94 void strip(char unwanted); |
95 void strip(const List<char> &unwanted); |
95 void strip(const List<char> &unwanted); |
|
96 const unsigned char* toBytes() const; |
96 double toDouble(bool* ok = nullptr) const; |
97 double toDouble(bool* ok = nullptr) const; |
97 float toFloat(bool* ok = nullptr) const; |
98 float toFloat(bool* ok = nullptr) const; |
98 long toInt(bool* ok = nullptr, int base = 10) const; |
99 long toInt(bool* ok = nullptr, int base = 10) const; |
99 String toLowerCase() const; |
100 String toLowerCase() const; |
100 String toUpperCase() const; |
101 String toUpperCase() const; |
105 static String fromNumber(long int a); |
106 static String fromNumber(long int a); |
106 static String fromNumber(unsigned short int a); |
107 static String fromNumber(unsigned short int a); |
107 static String fromNumber(unsigned int a); |
108 static String fromNumber(unsigned int a); |
108 static String fromNumber(unsigned long int a); |
109 static String fromNumber(unsigned long int a); |
109 static String fromNumber(double a); |
110 static String fromNumber(double a); |
|
111 static String fromBytes(const ByteArray& bytes); |
110 |
112 |
111 String operator+(const String& data) const; |
113 String operator+(const String& data) const; |
112 String operator+(const char* data) const; |
114 String operator+(const char* data) const; |
113 String operator+(int num) const; |
115 String operator+(int num) const; |
114 String& operator+=(const String& data); |
116 String& operator+=(const String& data); |