Method Description
WbString.toQuotedPrintable()
Produce a
quoted-printable encoding
of the argument.
See Also
WbString.fromQuotedPrintable() Syntax
WbString = WbString.toQuotedPrintable(input_string)
Parameters
The 'WbString.toQuotedPrintable' method takes 1 parameter:
Name | Type/Value | Range/Length | Description | input_string | string | | Required. String to be encoded |
Results
The 'WbString.toQuotedPrintable' method returns WbString:
Type/Value | Range/Length | Description |
WbString |
  |
Returns a WbString instance containing the quoted-printable form of the string parameter
|
Remarks Encodes a string into a form suitable for transmission via SMTP. Note: This is a method method on WbString and so is
invoked as WbString.toQuotedPrintable(str); Example quoted-printable is a simple text encoding that allows 'text' content to be transferred
within the limitations of the SMTP protocol. The translation for the most part leaves
the text in a readable form. Some characters are encoded in hex using '=' as an escape sequence and all lines are wrapped
at or before 76 characters. The method returns a new WbString instance that to all intents and purposes can
be treated as a standard Javascript string object. |