Front page | perl.riscos |
Postings from August 2003
Re: trailing spaces
Thread Previous
|
Thread Next
From:
Richard Proctor
Date:
August 20, 2003 13:26
Subject:
Re: trailing spaces
Message ID:
Marcel-1.53-0820185750-480Rr9i@waveney.org
On Wed 20 Aug, Colin Foster wrote:
> Hi,
>
> Is there an easy way to remove the trailing
> spaces in the string "TRAILING SPACES "
>
> Thanks,
> Colin.
>
$string = "TRAILING SPACES ";
$string =~ s/\s*$//;
Richard
--
Personal Richard@waveney.org http://www.waveney.org
Telecoms Richard@WaveneyConsulting.com http://www.WaveneyConsulting.com
Web services Richard@wavwebs.com http://www.wavwebs.com
Independent Telecomms Specialist, ATM expert, Web Analyst & Services
Thread Previous
|
Thread Next