dc

dc

  • NA
  • 663
  • 0

C# obtain data from filename

Dec 19 2012 9:52 AM
In a C# 2008 desktop application, I want to obtain data that is part of the file name. I want to obtain the following:
1. Data  that  is the first character to where the first '_' is located,
2. data from the first '_'  to the second '_'.

Thus can you tell me how to code the above using C#.net 2008?

Answers (2)