trimspaces: Remove leading or trailing white spaces from a character...

Description Usage Arguments Value

Description

Remove leading or trailing white spaces from a character string

Usage

1
trimspaces(x, type = c("both", "leading", "trailing"))

Arguments

x

The character string to process

type

Specifies whether to remove the leading, trailing or both white spaces.

Value

Return the string provided without leading or trailing white spaces.


jeanmarcgp/xtsanalytics documentation built on May 19, 2019, 12:38 a.m.