trim function

Deleting leading and ending white spaces

Deleting leading and ending white spaces

Deleting leading and ending white spaces from a character object.

trim(x)

Arguments

  • x: is a character object.

Returns

an object of class character

Details

tableTag is an internal routine of bibliometrics package.

Examples

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