Learn R Programming

bibliometrix (version 3.1.4)

trim: 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.

Value

an object of class character

Details

tableTag is an internal routine of bibliometrics package.

Examples

Run this code
# NOT RUN {
char <- c("  Alfred", "Mary", " John")
char
trim(char)

# }

Run the code above in your browser using DataLab