Perl Chop Function - Perl Views : 234
Tagged in : Perl
0 0
Send mail

Perl Chop Function


chop removes the last character from a variable.

$x = "abcdefg";
chop($x); # $x= abcdefg
$a = chop($x); # $a = g, $x = abcdef

By Geethalakshmi, On - 2010-09-17



    Login to add Comments .