20 #ifndef MPD_DIVIDE_STRING_HXX
21 #define MPD_DIVIDE_STRING_HXX
40 DivideString(
const char *s,
char separator,
bool strip=
false);
50 return first !=
nullptr;
bool IsEmpty() const
Is the first part empty?
bool IsDefined() const
Was the separator found?
const char * GetSecond() const
const char * GetFirst() const
DivideString(const char *s, char separator, bool strip=false)
Split a given constant string at a separator character.