trim: Deleting leading and ending white spaces

View source: R/trim.R

trimR Documentation

Deleting leading and ending white spaces

Description

Deleting leading and ending white spaces from a character object.

Usage

trim(x)

Arguments

x

is a character object.

Details

tableTag is an internal routine of bibliometrics package.

Value

an object of class character

Examples


char <- c("  Alfred", "Mary", " John")
char
trim(char)


bibliometrix documentation built on July 3, 2024, 5:07 p.m.