<-- Previous || Up || Next -->

Unsqueeze String Function
Co Decs Class

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

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

Examples:
    UnsqueezeString(Chr$(244) + Chr$(200) + Chr$(142) + Chr$(234) + Chr$(159) + Chr$(243) + Chr$(240) + Chr$(46)) = "This is a test."
    UnsqueezeString("ZYXWVU") = "ZYXWVU"
See also:
    SqueezeString Function
    UnsqueezeStringLength Function
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.

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.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.