in reply to Re^3: Format text problem
in thread Format text problem

I adjusted it so the result is saved in $text instead of being printed.