
Patrick B. answered 01/14/21
Math and computer tutor/teacher
There are many examples of text processing...
here is but one of them, called PARSING the CSV buffer
input: buffer containing comma separated values (CSV)
output: an array of strings containing the tokens in the buffer
while not end of buffer:
Sets FRONT pointer to the beginning of the next token
Sets BACK pointer to the location of the next comma delimiter
extracts the token from the buffer
stores the token in the array
the split() function in Java,C#, and python does this