In C using strtok function we can tokenize c style string using our any delimiters list such as " ,.- ] [ ". I know from here How do I tokenize a string in C++? to tokenize c++ string by whitespace, but I want to tokenize using delimiters list (" ,.- ] [ ") in c++. How Can I accomplish this?
NOTE: I Dont want to tokenize by WHITE SPACE, rather a delimiter list. Those answer gives answer to tokenize by ws. NOT using boost.