Re: String builder (Parsing vertically presented records)



Hi,

The DirectoryInfo.GetFiles() method takes an overload in which you can
specify the pattern of files to be selected. Here you can simply use :
DirectoryInfo.GetFiles("surv*.txt") to make sure only files matching
that pattern are returned. No additional code necessary.

Happy coding,

Regards,

Cerebrus.

.



Relevant Pages

  • Re: Question about public and public static
    ... double' so that its usage would be: ... double Avg = StatDist.Average; ... Is it a good idea to overload the function and make one of them ... some of which are static method and take a pattern, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Question about public and public static
    ... double' so that its usage would be: ... double Avg = StatDist.Average; ... Is it a good idea to overload the function and make one of them ... If you have a look at Regex.Replace, it has exactly that sort of thing - various overloads, some of which are static method and take a pattern, and some of which are instance methods which use the target regular expression for the pattern. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: QI and MQ Coder: First real-life experiences
    ... > of the AC pattern on every key element, ... an overall coding gain. ... It doesn't fit to the data sources I care ...
    (comp.compression)
  • Re: QI and MQ Coder: First real-life experiences
    ... context modelling and entropy coding. ... little seed pattern at their core. ... entirely different seed pattern, almost an antipode ...
    (comp.compression)
  • Re: Integers and standard
    ... were the bit pattern specified by the boz-literal-constant. ... is processor dependent." ... The standard refers to a bit pattern. ... It should probably be a compilation error to specify ...
    (comp.lang.fortran)