$a ='abcdef';
@arr = split(//,$a);
print "@arr";

> ----------
> From:         Raja Gopal[SMTP:[EMAIL PROTECTED]]
> Sent:         Thursday, March 21, 2002 12:11 PM
> To:   [EMAIL PROTECTED]
> Subject:      splitting the string.
> 
> Hello Perl  Experts,
> 
>  I want to split the string  $a ="abcdef";
> as @asplit = ("a","b","c","d","e","f").
> 
>  Is this possible. Kindly provide your valuable
> inputs.
> 
> Thank you very much.
> 
> Regards,
>   Rajagopal
>  
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Movies - coverage of the 74th Academy Awards®
> http://movies.yahoo.com/
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to