1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>BLANKS Create a blank string
</TITLE>
</HEAD>
<BODY>
<H2>BLANKS Create a blank string
</H2>
<P>
Section: <A HREF=sec_string.html> String Functions </A>
<H3>Usage</H3>
<PRE>
str = blanks(n)
</PRE>
<P>
Create a string <code>str</code> containing <code>n</code> blank charaters.
<H3>Example</H3>
A simple example:
<PRE>
--> sprintf(['x0123456789y\n','x',blanks(10),'y\n'])
ans =
x0123456789y
x y
</PRE>
<P>
</BODY>
</HTML>
|