Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Char – PB Docs 2017 – PowerBuilder Library

Char – PB Docs 2017

Char

PowerScript function

Description

Extracts the first Unicode character of a string or converts an
integer to a char.

Syntax

Argument

Description

n

A string that begins with the character you want, an
integer you want to convert to a character, or a blob in which the
first value is a string or integer. The rest of the contents of
the string or blob is ignored. N can also be an Any variable
containing a string, integer, or blob.

Return value

Char.

Returns the first Unicode character of n. If n is null, Char returns
null.

Examples

This example sets ls_S to an asterisk, the character corresponding
to the ASCII value 42:

These statements generate delivery codes A to F for the values 1
through 6 of li_DeliveryNbr:

See also

Asc

CharA


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