Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • Thanks but this only works if the filename starts with N whereas I have other files that start without N Commented Jun 20, 2016 at 11:01
  • 1
    @deon that's what terdon asked you. edit your post and show us some more example Commented Jun 20, 2016 at 11:03
  • @deon Your question changes constantly. In your example you had 'surprisingly enough' two lines of filenames which were exactly the same and that's why I assumed the files would start with NB. Again as many times suggested, edit your question and show us what you exactly want Commented Jun 20, 2016 at 11:05
  • Sorry for the confusion. I have edited my question. Commented Jun 20, 2016 at 11:19
  • @deon for the third time, you need to edit and explain what you need not just edit and add one more example. You need to tell us what is constant in your data and what can change. You need to explain if you are parsing a file containing FILENAME = theNameOfTheFile or a variable with the file name or what? Commented Jun 20, 2016 at 11:25