[Date Prev][Date
Next][Thread Prev][Thread Next][Date
Index][Thread Index]
Re: perl
- To: ukha_d@xxxxxxx
- Subject: Re: perl
- From: Vince <groups@xxxxxxx>
- Date: Sun, 24 Feb 2002 19:26:08 +0000
- Delivered-to: mailing list ukha_d@xxxxxxx
- Mailing-list: list ukha_d@xxxxxxx; contact
ukha_d-owner@xxxxxxx
- Reply-to: ukha_d@xxxxxxx
At 15:53 24/02/02, you wrote:
>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 ?
>
>Steve.
Use a regular expression eg. /^\s*// will match any white space at the
beginning of a string and replace it with nowt.
Vince
Home |
Main Index |
Thread Index
|