function get2semi()

You have a SDF (Semicolon divided fields) file as data source. Each line is ended with crlf (see getline().

Read the lines into the variable t_t_semi. Use get2semi to return the left string up tho the last char before the next semicolon. Afterwards, t_t_semi begins with the first char after the semicolon just found.

If no semicolon is found, t_t_semi is retuned. In this case t_t_semi is an empty string and following calls to get2semi will return blank.

A semicolon sequenced by a semicolon has an empty string in between. The value of it would be 0 and the logical value .f. (compare with example)