#ifdef NALL_STRING_INTERNAL_HPP namespace nall { template lstring& lstring::usplit(const char *key, const char *base) { reset(); if(!key || !*key) return *this; const char *p = base; while(*p) { if(Limit) if(size() >= Limit) break; if(quoteskip(p)) continue; for(unsigned n = 0;; n++) { if(key[n] == 0) { append(substr(base, 0, p - base)); p += n; base = p; break; } if(!chrequal(key[n], p[n])) { p++; break; } } } append(base); return *this; } template lstring& lstring::split(const char *key, const char *src) { return usplit(key, src); } template lstring& lstring::isplit(const char *key, const char *src) { return usplit(key, src); } template lstring& lstring::qsplit(const char *key, const char *src) { return usplit(key, src); } template lstring& lstring::iqsplit(const char *key, const char *src) { return usplit(key, src); } }; #endif