I need to split user input on spaces in a console application I am making, but I’m not quite sure how to do it. I can’t just blindly split it because it will have quoted strings and stuff like that. What is a quick way to do this?
Or is there some way I can access the windows command-line parser and split it up using that?
User input in a console application is simply: Console.ReadLine().
You may want to try something like this: