GetFieldCount

Top  Previous  Next

This function returns the number of comma delimited values in a text string.

 

Often used for looping over the fields, using the GetField function.

 

Syntax

 

count = GetFieldCount( stringValue )

 

Parameters

stringValue

 

the comma delimited string

 

 

 

returns

 

the number of comma delimited values

 

Examples

stringValue = "S,10,20,30,40"

 

count = GetFieldCount( stringValue ) ' Returns 5