Basically, my task is to parse this command line:
-p "This is a string ""with quotes""" d:\1.txt "d:\some folder\1.out"
What I need is to split this string into:
- -p
- This is a string "with quotes"
- d:\1.txt
- d:\some folder\1.out
I searched (yes, I really did), but all examples I found either had not included escaped quotes or used \" for escape symbol.