0

How can I split a string of the following format in C++?:

"word","otherword","something else","1"
MathiasB
  • 21
  • 5
  • The question is not clear at all. Split into what? The string is already splited in the usual sense of the word. – Nawaz May 14 '13 at 18:52
  • seems like a very common question, should search before asking it. – Jose Vega May 14 '13 at 18:52
  • This may help: http://stackoverflow.com/questions/13406387/split-a-string-using-c-boostsplit-without-splitting-inside-quoted-text/13406735#13406735 – hmjd May 14 '13 at 18:54
  • Split into an vector or something else. I have already find the topics you are referring to, but they don't give a clear answer on how you need to split a line of quoted variables into a vector. – MathiasB May 14 '13 at 19:02
  • Sorry if the question wasn't clear enough – MathiasB May 14 '13 at 19:03

0 Answers0