--- Pedro A Reche Gallardo <[EMAIL PROTECTED]> wrote:
> Hi all,
> How can I split a string of caracters -any but blank spaces- into
> the individual caracters?
> Cheers
I'd say
@chars = split /\s*/, $string;
That will split between characters that have any number of spaces
between them -- including zero. Thus, "ab c" would split into
('a','b','c').
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
- SPLIT QUESTION Pedro A Reche Gallardo
- Re: SPLIT QUESTION Jeff Pinyan
- Re: SPLIT QUESTION Piers Cawley
- Re: SPLIT QUESTION Brett W. McCoy
- Re: SPLIT QUESTION Randal L. Schwartz
- Re: SPLIT QUESTION Paul
- Re: SPLIT QUESTION Jeff Pinyan
- Re: SPLIT QUESTION Paul
- Re: SPLIT QUESTION Jeff Pinyan
- Re: SPLIT QUESTION Paul
- Split question Paul
- Split question Scott and Kristin Seitz
- Re: Split question Shane Laffin
- Re: Split question Jeff 'japhy/Marillion' Pinyan
- Split question Perl
- Re: Split question John W. Krahn
- Re: Split question Kenton Brede
- Re: Split question Josimar Nunes de Oliveira
- Re: Split question John W. Krahn
- Re: Split question Joel Newkirk
- Re: Split question R. Joseph Newton
