sources/mystring.h

changeset 105
b4466472aecd
parent 88
08ccaf26cffd
child 106
7b156b764d11
child 107
ca10837a2a9e
equal deleted inserted replaced
102:3492f8f0ee7e 105:b4466472aecd
75 int find_last (const char*c, int a) const; 75 int find_last (const char*c, int a) const;
76 int length() const { return m_string.length(); } 76 int length() const { return m_string.length(); }
77 bool mask_against (const String &pattern) const; 77 bool mask_against (const String &pattern) const;
78 String md5() const; 78 String md5() const;
79 String mid (long a, long b) const; 79 String mid (long a, long b) const;
80 String right (int length) const;
80 StringList split (const String &del) const; 81 StringList split (const String &del) const;
81 StringList split (char del) const; 82 StringList split (char del) const;
82 const std::string& std_string() const { return m_string; } 83 const std::string& std_string() const { return m_string; }
83 double to_double (bool* ok = nullptr) const; 84 double to_double (bool* ok = nullptr) const;
84 float to_float (bool* ok = nullptr) const; 85 float to_float (bool* ok = nullptr) const;

mercurial