Home > Net >  How to get to space-delimited N path to a string []?
How to get to space-delimited N path to a string []?

Time:10-12

Example: D: \ 123\321 C: \ 456\654 E: \ \ ABC cba
The path of the separated by Spaces within a text box, with what method can be one of the most simple one obtain the path into an array of strings

CodePudding user response:

 Regex. Split (TXT, @ \ s + "") 

CodePudding user response:

Can direct the split (' '), he returned directly is an array

CodePudding user response:

Thank you for your help, I am getting filled into constant when the array index, so that only the path to a file

CodePudding user response:

reference 1/f, Eva will hit soy sauce response:
 Regex. Split (TXT, @ \ s + "") 


Words VS2017 inside with the Setup of the generated exe from msi file cannot be run how to solve

CodePudding user response:

Directly with the split out is an array
  •  Tags:  
  • C#
  • Related