StrReverse: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
(Created page with "STRREVERSE(''string'') '''Description''' STRREVERSE returns a string created by reversing the character order of another string. The required argument, ''string'', is any va...")
 
No edit summary
Line 1: Line 1:
STRREVERSE(''string'')
StrReverse(''string'')


'''Description'''
== Description ==


STRREVERSE returns a string created by reversing the character order of another string. The required argument, ''string'', is any valid string expression.
StrReverse returns a string created by reversing the character order of another string. The required argument, ''string'', is any valid string expression.


'''Example'''
== Example ==


<pre>
<pre>
REM STRREVERSE Example
Rem StrReverse Example
'STRREVERSE reverses characters in a string
'StrReverse reverses characters in a string
DIM Show
Dim Show
Show = "Terrence and Phillip"
Show = "Terrence and Phillip"
PRINT "Forwards: " & Show
Print "Forwards: " & Show
PRINT "Reverse: " & STRREVERSE(Show)
Print "Reverse: " & StrReverse(Show)
</pre>
</pre>


'''Output'''
== Output ==


<pre>
<pre>
Line 22: Line 22:
Reverse: pillihP dna ecnerreT
Reverse: pillihP dna ecnerreT
</pre>
</pre>
[[Category:Language Reference]]

Revision as of 03:39, 17 August 2012

StrReverse(string)

Description

StrReverse returns a string created by reversing the character order of another string. The required argument, string, is any valid string expression.

Example

Rem StrReverse Example
'StrReverse reverses characters in a string
Dim Show
Show = "Terrence and Phillip"
Print "Forwards: " & Show
Print "Reverse: " & StrReverse(Show)

Output

Forwards: Terrence and Phillip
Reverse: pillihP dna ecnerreT