Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string line="XXX YY ZZ";
- string line="XX YY ZZ";
- string[] allId = line.Split(' ');
- var allId = line.Split(new char[] {' '}, StringSplitOptions.RemoveEmptyEntries);
- var result = Regex.Split("XX YYY ZZZ", @"s+");
- // "XX", "YYY", "ZZZ" returned in array
- string[] allId = line.Split(new char[] {' '}, StringSplitOptions.RemoveEmptyEntries);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement