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 9, 2023, 6:44 p.m.