|
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
21 #ifndef ELM_STRING_SPLIT_H_
22 #define ELM_STRING_SPLIT_H_
24 #include <elm/string/String.h>
48 inline void find(
void)
49 { l = p; p = s.
indexOf(ss, l + 1);
if(p < 0) p = s.
length(); }
void next(void)
Definition: Split.h:36
int indexOf(char chr) const
Definition: String.h:102
String operator*() const
Definition: Split.h:41
StringSplit(const String &str, char chr)
Definition: Split.h:31
StringSplit(void)
Definition: Split.h:30
bool ended(void) const
Definition: Split.h:34
bool operator!=(const StringSplit &sp) const
Definition: Split.h:45
bool operator==(const StringSplit &sp) const
Definition: Split.h:44
int length(void) const
Definition: String.h:75
String item(void) const
Definition: Split.h:35
StringSplit(const String &str, String sub)
Definition: Split.h:32
String substring(int _off) const
Definition: String.h:96
bool equals(const StringSplit &sp) const
Definition: Split.h:37
string str(const char *s)
Definition: String.h:150
StringSplit & operator++()
Definition: Split.h:42
StringSplit operator++(int)
Definition: Split.h:43