RightA DataWindow expression function
Description
Obtains a specified number of characters from the end of a
string.
Syntax
|
1 |
<span>Right</span> ( <span>string</span>, <span>n</span> ) |
|
Argument |
Description |
|---|---|
|
string |
The string from which you want characters |
|
n |
A long whose value is the number of characters |
Return Values
String. Returns the rightmost n characters
in string if it succeeds and the empty string
(“”) if an error occurs.
If n is greater than or equal to the
length of the string, RightA returns the entire string.
It does not add spaces to make the return value’s length
equal to n.
Usage
RightA replaces the functionality that Right had
in DBCS environments in PowerBuilder 9. In SBCS environments, Right and RightA return
the same results.
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest