substr $scalar, 0, $n
Makeshifts last the longest.
In reply to Re: Printing First n Characters of a Scalar by Aristotle in thread Printing First n Characters of a Scalar by Neuroactive