Paul Gurzick wrote:
> I am sure there is an easy way to trim off left
> characters in a string, I can't figure it out.  I used
> to use LTRIM in Visual Basic.

Sure, use a regular expression. If you just want to trim
spaces, something like

$var =~ s/\s*?(\S)/$1/;

should do the trick. No doubt there are better ways.


Hamish
-- 
Hamish Moffatt                   Email: [EMAIL PROTECTED]
R&D Engineer,                    Phone: +61 3 9210 5782
Advanced Networks Division       Fax:   +61 3 9210 5550
Agilent Technologies             Web:   http://www.agilent.com/

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to