Learn R Programming

vvconverter (version 0.7.0)

trim: Trim

Description

Trim both leading and trailing whitespaces from string.

Usage

trim(x)

Value

Cleaned string.

Arguments

x

A text string.

Examples

Run this code
trim(" hello ")

Run the code above in your browser using DataLab