Hi,

More goodies from debugging WebQuery...

On DF 19.1 the following code:

Code:
Use Windows.pkg

Procedure Test
  String  sValue
  Integer iPos
  Integer iCommaPos
  Move "0,1,00,1,52,212,-11,12,-15,false2,-15,false2,-15,false2,-14,Id: 2,-1" to sValue
  Move 11 to iPos
  Move (Pos(",",sValue,iPos,10)) to iCommaPos
  Showln iCommaPos
End_Procedure

Send Test


Inkey WindowIndex
Outputs:
12
On DF20, the output is
0
--
Wil