We have a filename, which could theoretically be something like
verylongfilename.2004.05.11.txt. We just need the significant part before
the first dot. My solution was a quick regexp:
filename = (Regex.Split(filename, "."))[0];
Is there a better way to handle it? Maybe something built in?
--
Alex Moskalyuk
_____________________________
http://www.techinterviews.com