Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

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

Comprehensive Science Mapping Analysis

v3.1.1
GPL-3
Authors
Massimo Aria [cre, aut], Corrado Cuccurullo [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.