Learn R Programming

bibliometrix (version 4.3.0)

trim: Deleting leading and ending white spaces

Description

Deleting leading and ending white spaces from a character object.

Usage

trim(x)

Value

an object of class character

Arguments

x

is a character object.

Details

tableTag is an internal routine of bibliometrics package.

Examples

Run this code

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

Run the code above in your browser using DataLab