Hi Steve,
Pretty new to perl myself and still
learning. Can you do a pattern match replacement along the lines of
;
$x = s/^ //g;
(Replace the first space in the string
with
nothing)
Is it a single space or more than one
that
you want to replace?
Cheers,
Nick
-----Original
Message-----
From: Steve B
[mailto:steve@xxxxxxx]
Sent: 24 February 2002
15:53
To: ukha_d@xxxxxxx
Subject: [ukha_d]
perl
I have been bodging up a perl
script
to drive a serial LCD under freebsd. Its the first perl coding i have ever
done.
Can a perl wizard tell me how to
truncate a space at the left side of a string ?
For more information: http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe: ukha_d-subscribe@xxxxxxx
Unsubscribe: ukha_d-unsubscribe@xxxxxxx
List owner:
ukha_d-owner@xxxxxxx
Your use
of
Yahoo! Groups is subject to the Yahoo!
Terms of Service.