http://www.albertopasca.it/whiletrue/c-tokenize-a-string/
C++, tokenize a string