1 Comment Already

Scott Yeager-July 6th, 2015 at 8:06 pmnone
Comment author #6107 on C++ : How to split a string using String and character as Delimiter? by thisPointer.com

If you want to split on one of multiple chars or want the splitting to be faster you could try subparser + subbuffer from https://github.com/VerizonDigital/json_parser. You would end up with a vector. subbuffer’s are a const char* + length + all the normal functionality for comparing, searching, etc. I didn’t compile the following but am reasonably sure it would build.