30#include "string_ext.h"
76 String(
const std::string& str, int64_t
id = 0)
99 String(
const char* str,
size_t len, int64_t
id = 0)
100 : std::string(str, len)
111 String(
size_t len,
char ch, int64_t
id = 0)
112 : std::string(len, ch)
180 bool in(std::initializer_list<String> list)
const;
String replace(const String &pattern, const String &replacement) const
~String() noexcept=default
String()
Definition: String.h:54
String(size_t len, char ch, int64_t id=0)
Definition: String.h:111
bool endsWith(const String &subject) const
String(String &&src) noexcept=default
String(const std::string &str, int64_t id=0)
Definition: String.h:76
bool in(std::initializer_list< String > list) const
String & operator=(String &&other) noexcept=default
bool matches(const String &pattern, const String &options=String()) const
String & operator=(const String &other)=default
String toUpperCase() const
bool startsWith(const String &subject) const
int64_t ident() const
Definition: String.h:162
String & operator=(const char *str)
Definition: String.h:152
void ident(int64_t id)
Definition: String.h:170
String(const char *str)
Definition: String.h:87
String(const String &other)=default
bool contains(const String &subject) const
String toLowerCase() const
String(const char *str, size_t len, int64_t id=0)
Definition: String.h:99
Strings split(const String &pattern) const