EncodeQuotedPrintable

From Real Software Documentation

Jump to: navigation, search
Method

Converts a String into quoted-printable format.


Syntax

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.


Example

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

dim s as string
s=EncodeQuotedPrintable(textarea1.text)

The variable s can then be used in systems that expect unprintable characters to be encoded.

See Also

DecodeQuotedPrintable function.

Personal tools