C# string handling how get path and args from a string -
I have a string with quotation marks around the path:
"C: \ Program Files (X86) \ Windows Media Player \ wmplayer.exe "arg1 arg2
If I use I may have a syntax error, but what do you mean to me. Text.Split (new four [] {''}, 2); Try splitting on two quotes (text split (new four [] {/ code>
string [] Path and arrags = text Sample (new four [] {'/' '}, 3); String [] args = pathAndArgs [2] .plate (new four [] {''}, 2);
Comments
Post a Comment