Please enable JavaScript to view this site.

ESL Documentation

ESLLIB Function

Return the number of rows in a delimited string.

EslNumRows( STRING_SV, COLDELIM_SV, ROWDELIM_SV )

STRING_SV

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

COLDELIM_SV

The single-character column delimiter used in STRING_SV.

ROWDELIM_SV

The row delimiter used.

Description

This function evaluates STRING_SV and returns an integer indicating the maximum number of rows that STRING_SV contains, based on the number of row delimiters within it.

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

EslParseColumn( ) Function

EslParseRow( ) Function