in reply to If/else within a foreach loop to check strings within an array

getc comes to mind for char-at-a-time if one needs to process a file with potentially very long lines (or no line/record endings at all) instead of taking input directly as a command line arg.

The answer to the question "Can we do this?" is always an emphatic "Yes!" Just give me enough time and money.
  • Comment on Re: If/else within a foreach loop to check strings within an array
  • Download Code