Function Co Decs Class

UnsqueezeString

Decompresses a string which was "squeezed" with the SqueezeString function.

Signature (Visual Basic / VBA)

Public Function UnsqueezeString( _
    ByVal vValue As Variant _
    ) As Variant

Code Example

    UnsqueezeString(Chr$(244) + Chr$(200) + Chr$(142) + Chr$(234) + Chr$(159) + Chr$(243) + Chr$(240) + Chr$(46)) = "This is a test."
    UnsqueezeString("ZYXWVU") = "ZYXWVU"

Parameters

Parameter Description
vValue The "squeezed" string which is to be decompressed/unsqueezed. Function returns Null if vValue is Null or cannot be fixed up to a String.

Notes & Version History

Note The pairs of characters which are replaced by an individual character are those that appeared most frequently within a large sample of public English-language Internet documents.
Note This function and the SqueezeString function both use the same character-pair definitions and they are the inverse of each other.