Use this routine for CSV files that may have CR:LF as part of the data.
The routine extracts a CSV line for further processing.
After each extraction the start position S is incremented to point to the next line.
At the end of file, S is set to 0.
Example: