Spaces: Difference between revisions

From MultiCharts
(Created page with "Returns a string expression consisting of a specified number of spaces. ==== Usage ==== <syntaxhighlight>Spaces(Num)</syntaxhighlight> Where: Num - a numerical expre...")
 
mNo edit summary
 
(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 ====
== 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 ==
<syntaxhighlight>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".
 
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".