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

Decompress String Length Function
Co Decs Class

Public Function DecompressStringLength( _
    ByVal vString As Variant _
    ) As Variant

Returns the length of the decompressed version of a string that was compressed with the CompressString function.

    DecompressStringLength(Chr$(3) + "ZYXWVU") = 6
    DecompressStringLength(Chr$(2) + "AB" + Chr$(255) + Chr$(5) + "CDE") = 9
    DecompressStringLength("Sample") = 6
See also:
    DecompressString Function
    RunLengthDecodeLength Function
    UnsqueezeStringLength Function
vString: The compressed string whose length when decompressed is to be calculated. Function returns Null if vString is Null or cannot be fixed up to a String.

Function returns the length of the string vString if the first character of vString is not a valid identifier of one of the text compression techniques.

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