StrReverse: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
m (Ghenne moved page Strreverse to StrReverse)
No edit summary
Line 1: Line 1:
''This function is for BASIC compatibility. It is not available in pure JavaScript projects.''
StrReverse(''string'')
StrReverse(''string'')


Line 5: Line 7:
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 (BASIC) ==


<pre>
<pre>

Revision as of 17:30, 24 March 2019

This function is for BASIC compatibility. It is not available in pure JavaScript projects.

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 (BASIC)

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