Signature (Visual Basic / VBA)
Public Function DecompressStringLength( _
ByVal vString As Variant _
) As Variant
Code Example
DecompressStringLength(Chr$(3) + "ZYXWVU") = 6
DecompressStringLength(Chr$(2) + "AB" + Chr$(255) + Chr$(5) + "CDE") = 9
DecompressStringLength("Sample") = 6
Parameters
| Parameter | Description |
|---|---|
| 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. |