Syntax
ListSize( List:String )
Parameters
List:String –
String, that contains comma separated handles. You can get this string as result of function FindWindows.
Return Value
Returns number of items in string. E.g. ListSize(‘5,6,7’) returns 3 and ListSize(”) returns 0.
Example
s := FindWindows('Opera');//searching browser handle
cnt := ToString(ListSize(s));
MsgBox('Found ' + cnt + ' handles');
s := '1,2,3';
cnt := ToString(ListSize(s));
MsgBox('Count of items in string ' + s + ' = ' + cnt);
Download example ListSize
Leave a Reply