Please enable JavaScript to view this site.

ESL Documentation

ESLLIB Function

Parse a string and return data for the next column.

EslParseColumn( STRING_SV, NEWROW_BV, COLDELIM_SV, ROWDELIM_SV )

STRING_SV

A string variable that contains a string that includes row and column delimiters.

NEWROW_BV

A boolean place-holder.

COLDELIM_SV

The single-character column delimiter you want to use when converting the row to a text string.

ROWDELIM_SV

The row delimiter you want to use.

Description

This function parses the first column value in STRING_SV, extracts the data and returns it. It does not include the row or column delimiter in the returned string. If STRING_SV specifies a column that is at the start of a new row, then ESL sets NEWROW_BV to true; otherwise, it sets it to false. After the last column value is returned, STRING_SV will be empty.

If COLDELIM_SV is a comma and ROWDELIM_SV is new line ("\n"), then comma-separated values (CSV) quote rules will be used.

Be sure to include esllib.inc before using this function.

See Also

EslNumColumns( ) Function

EslParseRow( ) Function