StripString function
Some c++ parsing-related stuff