Hello,
I have 2 strings:
A = "filename.extension"
and
B = ".extension"
I want to remove B from A to get the filename ...
I prefer to do it this way just in case filename has also dots.
How can I do this?
Thanks,
Miguel
Mark Rae [MVP] - 14 Feb 2008 02:00 GMT
> I prefer to do it this way just in case filename has also dots.
http://msdn2.microsoft.com/en-us/library/system.io.path.getfilenamewithoutextens
ion.aspx

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net