in reply to How to cut strings from the end

Hi Bharath,

You have to take a look at substr or you can use regex to accomplish your need. Please do Super Search before posting.

$string =~ s/.{3}$//;

Prasad