On Sunday 16 June 2002 01:29, Chris Knipe wrote: > Hi, Hello,
> How can I cut off the last char. of a string? > > $string = "160700Z"; > > I want to remove the Z ? $string =~ s/.$//; substr $string, -1, 1, ''; chop $string; John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]