diff --git a/iVerse/include/string/iString.h b/iVerse/include/string/iString.h index 0fcf98a..d45d1bd 100644 --- a/iVerse/include/string/iString.h +++ b/iVerse/include/string/iString.h @@ -256,14 +256,14 @@ namespace String return result; } - std::string toStdString() { return (CPtr)data(); } - + std::string toStdString() { return (CPtr)data(); } + Ref index(const size_type _Off) { return (*this)[_Off]; } CRef index(const size_type _Off) const { return (*this)[_Off]; } - + void push(CRef string) { basic_string::replace(basic_string::length(), 0, string.data()); } void pop(size_t count) { basic_string::replace(basic_string::length() - count, count, u8""); } - + void toUpper() { std::transform(basic_string::begin(), basic_string::end(), basic_string::begin(), std::toupper);