The ListVal( ) function retrieves a numeric value from string of numbers separated by ','.
Syntax
ListVal(cMCLExpr,nItemNumber,cSeparator,nItemsReturn)
Returns
Numeric
Examples
ListVal("12,4,8",2)
The above function returns 4.
ListVal(Column('WinTk'),1)
The above function returns the first number item in the string in column 'WinTk'.
ListVal(HrOdds( ),2,' ')
The above function returns odds 5-minute before race of the horse by retrieving the 2nd item from an odds string (e.g., "5.8 6.4 7.1"). Please note that the separator in an odds string is a space instead of a ",".
See Also
HrSumCount( ), JrSumCount( ), SrSumCount( ), HrOdds( ), JrOdds( ), SrOdds( ), Column( )
Page url: http://www.racematenet.com/english/help/index.html?listval.htm