in reply to Re: chop from front and back
in thread chop from front and back

what if I wish to print it as abc,def

Replies are listed 'Best First'.
Re^3: chop from front and back
by choroba (Cardinal) on Jun 21, 2013 at 07:57 UTC
    print substr "$x,$y", 1, -1;
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ