String: EncodingToQuotedPrintableMBS

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

EncodingToQuotedPrintableMBS(s as string, LineLen as Integer = 72) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method String MBS Util Plugin 5.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns a string with quoted printable characters.
Example
dim a as string = "Hello äöü!"
dim b as string = EncodingToQuotedPrintableMBS(a)
dim c as string = ConvertEncoding(a, encodings.ISOLatin1)
dim d as string = EncodingToQuotedPrintableMBS(c)
dim e as string = EncodeQuotedPrintable(a)
dim f as string = EncodeQuotedPrintable(c)

MsgBox b+EndOfLine+d+EndOfLine+e+EndOfLine+f

Line wrap is per default at 72 characters but you can pass some other positive value here.
Quoted printable encoded strings have some ISO encoding as base, you need to pass a valid ISO string to this function to get the correct result.
May return "" on low memory conditions.

Blog Entries

The items on this page are in the following plugins: MBS Util Plugin.


💬 Ask a question or report a problem