Reverse – PB Docs 2017

Reverse

PowerScript function

Description

Reverses the order or characters in a string.

Syntax

Argument

Description

string

A string whose characters you want to reorder so that
the last character is first and the first character is
last.

Return value

String. Returns a string with the characters of string in reversed
order. Returns the empty string if it fails.

Usage

Reverse is useful with the IsArabic and IsHebrew functions, which
help you implement right-to-left character display when you are using a
version of Windows that supports right-to-left languages.

Examples

Under a version of Windows that supports right-to-left languages,
this statement returns a string with the characters in reverse order from
the characters entered in sle_name:

See also

IsArabic

IsHebrew


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x