In article <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED] (Shannon Murdoch) wrote:

> I'm trying to get a string (held in a variable) to have all it's characters
> spaced apart by a ' ' space.
> 
> ie.   $input's content changes from '1234' to '1 2 3 4'

$x = join ' ', split //, $x;
-- 
brian d foy <[EMAIL PROTECTED]> - Perl services for hire
CGI Meta FAQ - http://www.perl.org/CGI_MetaFAQ.html
Troubleshooting CGI scripts - http://www.perl.org/troubleshooting_CGI.html

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

Reply via email to