Skip to content

blanks

strings · scripts/strings/blanks.m

: s = blanks (n)

Return a character row vector holding n space characters.

n is a real integer scalar. Zero, a negative integer, and an empty numeric n give a 1-by-0 character row. A non-integer or non-scalar n raises the same error repmat would.