Method

EncodeQuotedPrintable


Description

Converts a String into quoted-printable format.

Usage

result = EncodeQuotedPrintable(str)

Part

Type

Description

result

String

The result of processing str.

str

String

The string expression to be converted.

Notes

EncodeQuotedPrintable converts unprintable characters (i.e., control characters, returns and tabs) into hexadecimal. It is designed for handling email or usenet messages.

The DecodeQuotedPrintable function performs the function in reverse.

Sample code

The following example encodes the text in a TextArea, which can have return characters.

Var printString As String = "Hello" + EndOfLine + "World"
Var s As String
s = EncodeQuotedPrintable(printString)
' s is "Hello=0AWorld"

Compatibility

All project types on all supported operating systems.

See also

DecodeQuotedPrintable function.