Perl substr Function to strip leading character in the string
by kalai[ Edit ] 2009-08-08 11:01:29
In perl Function to strip leading character in the string we can use substr function.
$add = substr $string, 1;
In the above code first character in '$string' is stripped
off and remaining character is stored in '$add'