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 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);  

I may have a syntax error, but what do you mean to me.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -