I am implementing a game in console.
I need to parse strings with escaping, I just cannot split string by space to get parameters. if one of arguments is "Hello my name is \"someone\"" then i should get string >Hello my name is "someone"<
example:
move_player "La la" 10.0 20.0 10.0
this should give me 4 parameters, where I don't count command name.
setplayerid "La la" 24442
rename_player "La la" parameterwithoutquotes
Is there any library for such thing?