Method Description
WbString.fromQuotedPrintable()
Extract the original string from a
quoted-printable encoding
of that string.
See Also
WbString.toQuotedPrintable() Syntax
WbString = WbString.fromQuotedPrintable(input_string)
Parameters
The 'WbString.fromQuotedPrintable' method takes 1 parameter:
Name | Type/Value | Range/Length | Description | input_string | string | | Required. String to be decoded |
Results
The 'WbString.fromQuotedPrintable' method returns WbString:
Type/Value | Range/Length | Description |
WbString |
  |
Returns a WbString instance containing the decoded string
|
Remarks Extracts a quoted-printable encoded string such as might be recovered from a received email message and returns
the original string wrapped in an WbString instance. This is the inverse of
toQuotedPrintable(). Note: This is a method method on WbString and so is
invoked as WbString.fromQuotedPrintable(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. |