ESLLIB Function
Return the number of columns in a delimited string.
EslNumColumns( 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 columns that STRING_SV contains, based on the number of column 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
EslNumRows( ) Function
EslParseColumn( ) Function
EslParseRow( ) Function