If I have a delimited text file with a basic delimiter (say |
for instance) does it make a difference whether I use a String
or a Regex
split?
Would I see any performance gains with one versus the other?
I am assuming you would want to use Regex.Split
if you have escaped
delimiters that you don't want to split on (|
for example).
Are there any other reasons to use Regex.Split
vs String.Split
?