Well, if you don't mind using an array you could just do something like:
my @names = split(/\;/, $string);
This will put each name into a different element of the names array.
So, $names[0] would be rahul, $names[1] would be john, etc...
Brian Johnson
Partner/Systems Administrator/Programmer
Source1Hosting.tv, LLC (www.source1hosting.tv)
Source1Results.com, LLC (www.source1results.com)
I may be insane, but remember - The only
difference between an insane man and a
genius is his jacket.
>
> Hello Everybody,
>
> $string ="rahul;john;hary;brian;raj;dolly;jim;
>
> What i want to do is parse the string and put different names
> in a separate variable..............How!!!!!!!!!!!!!!!!!!!!!
>
> Thanx in advance,
> Waiting for Reply............................
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]