Difference between revisions of "Spaces"
(Created page with "Returns a string expression consisting of a specified number of spaces. ==== Usage ==== <syntaxhighlight>Spaces(Num)</syntaxhighlight> Where: Num - a numerical expre...") |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
Returns a string expression consisting of a specified number of spaces. | Returns a string expression consisting of a specified number of spaces. | ||
− | + | == Usage == | |
<syntaxhighlight>Spaces(Num)</syntaxhighlight> | <syntaxhighlight>Spaces(Num)</syntaxhighlight> | ||
− | Where: | + | Where: |
+ | |||
+ | :'''Num''' - a numerical expression specifying the number of spaces. | ||
− | + | == Example == | |
− | <syntaxhighlight> | + | <syntaxhighlight>Print("a" + Spaces(2) + "b");</syntaxhighlight> |
− | + | Inserts two blank spaces between the letters "a" and "b". | |
− | |||
− | Print("a"+Spaces(2)+"b");</syntaxhighlight> | ||
− | |||
[[Category:Text Manipulation]] | [[Category:Text Manipulation]] |
Latest revision as of 07:25, 9 February 2012
Returns a string expression consisting of a specified number of spaces.
Usage
Spaces(Num)
Where:
- Num - a numerical expression specifying the number of spaces.
Example
Print("a" + Spaces(2) + "b");
Inserts two blank spaces between the letters "a" and "b".