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

Syntax 1 Convert a string to a blob – PB Docs 126 – PowerBuilder Library

Syntax 1 Convert a string to a blob – PB Docs 126

Syntax 1 Convert a string to a blob

Description

Converts a string to a blob datatype.

Syntax

Argument

Description

text

The string you want to convert to a blob
datatype

encoding

Character encoding of the resulting blob.
Values are:

  • EncodingANSI!

  • EncodingUTF8!

  • EncodingUTF16LE! (default)

  • EncodingUTF16BE!

Return Values

Blob. Returns the converted string in
a blob with the requested encoding, if specified. If text is null, Blob returns null.

Usage

If the encoding argument is not provided, Blob converts
a Unicode string to a Unicode blob. You must provide the encoding argument
if the blob has a different encoding.

Examples

This example saves a text string as a Unicode blob:

This example saves a text string as a blob with UTF-8
encoding:

See Also


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