Share this page

# lr.unzip

Uncompresses the information in a parameter and stores the uncompressed information in another parameter.

String and Parameter Functions

## Syntax

    lr.unzip ( "source=<parameter name>","target=<parameter name>" );

## Arguments

Argument | Comments
--- | ---
source | The name of the parameter containing information to be compressed.
target | The name of the parameter to store the compressed information.

lr.unzip uncompresses the information in a parameter and stores the uncompressed information in another parameter.

## Return Values

Returns LR_FAIL if the source parameter does not exist or if the uncompression fails.

## Parameterization

Standard parameterization does not apply to this function.

## Example

    function Action(){
       lr.saveString("This is the text I want to zip.","param1");
       lr.zip("target=param2", "source=param1");
       lr.zip("source=param1", "target=param3");
       lr.unzip("source=param3", "target=param4" );
       lr.outputMessage(lr.evalString("{param4}"));

      return 0;
    }

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: