Print Last 5 String in Perl Posted by Unknown on January 19, 2015 Get link Facebook X Pinterest Email Other Apps my $str = 'I love India'; my $pstr = substr($str, -5); print $pstr.''; ---------------------------- O/P :- India Comments
Comments
Post a Comment