Learn R Programming

tablaxlsx (version 1.2.4)

trim: It removes the spaces from the beginning or end of a text

Description

Returns a text or a vector of texts as the of the parameter but no spaces at the end or at the beginning of each text

Usage

trim(x)

Value

text or a vector of texts as the of the parameter but no spaces at the end or at the beginning of each text

Arguments

x

Text o vector of texts

Examples

Run this code
## Example
texto=trim("  Esto es una prueba ")

Run the code above in your browser using DataLab