Hi all,

Here's what I'm trying to do:

$Names="Name1,Name2,Name3"
$Name=
While $Name <> ""
SendMessage($Name,"Test")
$Name=
Loop

Any idea what the code after $Name= should be? I know it has been done before, but I can't remember where I saw it, and I don't know how to detect a , in a string and the length to this , etc... ?

_________________________
Regards, Jeroen. There are two ways to write error-free programs. Only the third one works.