Difference between revisions of "RightStr"

From MultiCharts
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
Returns one or more rightmost characters from the specified string expression.  
 
Returns one or more rightmost characters from the specified string expression.  
 
   
 
   
==== Usage ====
+
== Usage ==
 
<syntaxhighlight>RightStr(String, sSize)</syntaxhighlight>  
 
<syntaxhighlight>RightStr(String, sSize)</syntaxhighlight>  
  
Line 10: Line 10:
 
:'''sSize''' - a numerical expression specifying the number of characters to be returned.
 
:'''sSize''' - a numerical expression specifying the number of characters to be returned.
 
   
 
   
==== Example ====
+
== Example ==
 
<syntaxhighlight>RightStr("Hello World", 5);</syntaxhighlight>
 
<syntaxhighlight>RightStr("Hello World", 5);</syntaxhighlight>
 
Will return a string expression "World".
 
Will return a string expression "World".
 
   
 
   
 
[[Category:Text Manipulation]]
 
[[Category:Text Manipulation]]

Revision as of 07:26, 9 February 2012

Returns one or more rightmost characters from the specified string expression.

Usage

RightStr(String, sSize)

Where:

String - a string expression from which the characters are to be taken.
sSize - a numerical expression specifying the number of characters to be returned.

Example

RightStr("Hello World", 5);

Will return a string expression "World".