mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:27:34 +00:00
Add String::substring().
This commit is contained in:
parent
9cd0a34b5c
commit
0c1a4e8de3
3 changed files with 33 additions and 14 deletions
|
@ -59,6 +59,7 @@ public:
|
|||
}
|
||||
|
||||
Vector<String> split(char separator) const;
|
||||
String substring(size_t start, size_t length) const;
|
||||
|
||||
bool isEmpty() const { return length() == 0; }
|
||||
unsigned length() const { return m_impl ? m_impl->length() : 0; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue