Check perldoc -f chop

http://www.perldoc.com/perl5.6.1/pod/func/chop.html


Sunday, June 16, 2002, 9:29:00 AM, Chris Knipe wrote:

> Hi,

> How can I cut off the last char. of a string?

> $string = "160700Z";

> I want to remove the Z ?

> This is to import METAR weather data if anyone's interested, and if someone
> has a script which process and imports the Metar data already, I'd
> appreciate it allot :P

> --


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to