+1 888 340 6572

RightStr: Difference between revisions

From MultiCharts
(Created page with "Returns one or more rightmost characters from the specified string expression. ==== Usage ==== <syntaxhighlight>RightStr(String,sSize)</syntaxhighlight> Where: String...")
 
mNo edit summary
Line 2: Line 2:
   
   
==== Usage ====
==== Usage ====
<syntaxhighlight>RightStr(String,sSize)</syntaxhighlight>  
<syntaxhighlight>RightStr(String, sSize)</syntaxhighlight>  


Where: [[String]]  - a string expression from which the characters are to be taken
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  
:'''sSize''' - a numerical expression specifying the number of characters to be returned.
   
   
==== Example ====
==== Example ====
<syntaxhighlight>RightStr("Hello World",5); will return a string expression "World"</syntaxhighlight>
<syntaxhighlight>RightStr("Hello World", 5);</syntaxhighlight>
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".