G
Guest
Why when I write this
Regex r = new Regex(@"[\s]+")
String [] tokenList = r.Split(line)
If line which is a string, has spaces at the end or start, Regex leaves an empty string at the end and start of the tokenList array?
Regex r = new Regex(@"[\s]+")
String [] tokenList = r.Split(line)
If line which is a string, has spaces at the end or start, Regex leaves an empty string at the end and start of the tokenList array?