simple question on perl
Adam McDougall
mcdouga9@egr.msu.edu
Fri, 1 Sep 2000 14:57:06 -0400 (EDT)
chop or chomp?
On Fri, 1 Sep 2000, Daniel R . Kilbourne wrote:
> Call me a perl idiot, but how do I remove the last character from a string?
>
> I will need to pull the last character from a line such as:
>
> 3.3219333333e+02 (I need to get the 2 in this case)
>
> the string will always be of constant length.
>
> Anyone?
>
> ___
> Dan
> _______________________________________________
> linux-user mailing list
> linux-user@egr.msu.edu
> http://www.egr.msu.edu/mailman/listinfo/linux-user
>