Reverse (String function): Difference between revisions
Jump to navigation
Jump to search
m (→Syntax terms) |
m (printtext) |
||
Line 14: | Line 14: | ||
==Usage notes== | ==Usage notes== | ||
<ul><li>The <var>Reverse</var> function is available as of <var class="product">[[Sirius Mods]]</var> | <ul><li>The <var>Reverse</var> function is available as of <var class="product">[[Sirius Mods|"Sirius Mods"]]</var> Version 7.3.</ul> | ||
==Examples== | ==Examples== | ||
Line 21: | Line 21: | ||
%s is longstring | %s is longstring | ||
%s = 'A c E g ?4lN' | %s = 'A c E g ?4lN' | ||
printText {~} = '{%s:reverse}' | [[PrintText statement|printText]] {~} = '{%s:reverse}' | ||
. . . | . . . | ||
</p> | </p> | ||
Line 29: | Line 29: | ||
==See also== | ==See also== | ||
{{Template:String:Reverse footer}} | {{Template:String:Reverse footer}} |
Revision as of 09:09, 23 February 2011
Return string characters in right-to-left order (String class)
The Reverse intrinsic function returns the characters in the method object string in right-to-left order.
Syntax
%outString = string:Reverse
Syntax terms
%outString | A string or to receive the re-ordered characters from the input method object string. |
---|---|
string | The input string to which the method is applied. |
Usage notes
- The Reverse function is available as of "Sirius Mods" Version 7.3.
Examples
- A Reverse method example follows:
. . . %s is longstring %s = 'A c E g ?4lN' printText {~} = '{%s:reverse}' . . .
will display:
%s:reverse = Nl4? g E c A