Difference between revisions of "Spaces"

From MultiCharts
Jump to navigation Jump to search
m
 
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 ====
+
== Usage ==
 
<syntaxhighlight>Spaces(Num)</syntaxhighlight>  
 
<syntaxhighlight>Spaces(Num)</syntaxhighlight>  
  
Where: [[Num]]  - a numerical expression specifying the number of spaces  
+
Where:  
 +
 
 +
:'''Num''' - a numerical expression specifying the number of spaces.
 
   
 
   
==== Example ====
+
== Example ==
The example inserts two blank spaces between the letters "a" and "b":
+
<syntaxhighlight>Print("a" + Spaces(2) + "b");</syntaxhighlight>
 
+
Inserts two blank spaces between the letters "a" and "b".
 
 
<syntaxhighlight>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".