in reply to Printing First n Characters of a Scalar

See also sprintf.
  • Comment on Re: Printing First n Characters of a Scalar