This function returns the field number of a string.

 

The reverse of the GetField process

 

Syntax:

fieldNumber = GetFieldNumber( csvString, stringToFind )

 

Parameter:

Description:

csvString

Comma delimited string

stringToFind

String to find in the csvString

fieldNumber

field number

 

Example:

csvString = "S,Hi,There,Blox"
 
fieldNumber = GetFieldNumber( csvString, "There" ) ' Returns 3

 

Results:

  See example comments.

 

Links:

GetField

See Also:

Data Groups and Types

 


Edit Time: 9/25/2017 09:09:58 AM


Topic ID#: 354

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software