in reply to Re^2: Reading text file with <CR> line endings
in thread Reading text file with <CR> line endings

substr doesn't search at all. I suppose you meant index?

  • Comment on Re^3: Reading text file with <CR> line endings

Replies are listed 'Best First'.
Re^4: Reading text file with <CR> line endings
by Marshall (Canon) on Mar 06, 2018 at 18:26 UTC
    Yes index is the right function - corrected above.