mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Added String::escape and String::unescape.
This commit is contained in:
@@ -69,6 +69,12 @@ class EE_API String {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/** Escape string sequence */
|
||||
static String escape( const String& str );
|
||||
|
||||
/** Unescape string sequence */
|
||||
static String unescape( const String& str );
|
||||
|
||||
/** @return string hash */
|
||||
static String::HashType hash( const std::string& str );
|
||||
|
||||
@@ -776,6 +782,10 @@ class EE_API String {
|
||||
|
||||
String& toUpper();
|
||||
|
||||
String& escape();
|
||||
|
||||
String& unescape();
|
||||
|
||||
StringBaseType lastChar() const;
|
||||
|
||||
std::vector<String> split( const StringBaseType& delim = '\n',
|
||||
|
||||
Reference in New Issue
Block a user