RightStr: Difference between revisions
From MultiCharts
no edit summary
mNo edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
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 == | |||
<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 == | |||
<syntaxhighlight>RightStr("Hello World", 5);</syntaxhighlight> | <syntaxhighlight>RightStr("Hello World", 5);</syntaxhighlight> | ||
Will return a string expression "World". | Will return a string expression "World". | ||
== Notes == | |||
* See [[LeftStr]] to return the leftmost part of a string, | |||
* See [[MidStr]] to return a middle part of a string, | |||
* See [[InStr]] to get the starting location of a expression in a string. | |||
[[Category:Text Manipulation]] | [[Category:Text Manipulation]] |