You can use:

word =~ s/\s//;

Cheers,


Luciano F�varo.

"Ho, Tony" wrote:

> Hi guys
> Is a command in Perl that removes spaces in a String ?
> For example, if I had the following:
>
> my word = "             HELLO    ";
>
> Thanks in advance
> Tony
>
> Tony Ho
> Lucent Technologies
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
>
>

Reply via email to