Reverse PowerScript function
Description
Reverses the order or characters in a string.
Syntax
|
1 |
<span>Reverse</span> ( <span>string</span> ) |
|
Argument |
Description |
|---|---|
|
string |
A string whose characters you want to |
Return Values
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 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:
|
1 |
string ls_name |
|
1 |
ls_name = <span>Reverse</span>(sle_name.Text) |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest