Learn R Programming

lzstring (version 0.1.3)

compressToBase64: Compress a string to Base64

Description

This function takes a string as input and returns a compressed version of the string in Base64 format.

Usage

compressToBase64(string)

Value

A character string representing the compressed input string in Base64 format.

Arguments

string

A character string to be compressed.

Examples

Run this code
compressToBase64("Hello, world!")

Run the code above in your browser using DataLab