String compressString(String instr)
Arguments
instr: The String to compress
Usage
Compress a string using zlib and returned a base64-encoded compressed string. If compression fails, a CompressionFailed Exception will be thrown. Note that because base64-encoding increases the space required, if the compression factor is small, the compressed string may be larger than the original! In this case converting the string to Binary form and using compressBinary may be better.