computeLtrim: Trims string on left side

Description Usage Arguments Value Author(s) See Also Examples

Description

Helper Function for xpssCompute. R Implementation of the SPSS LTRIM Function.

Usage

1
computeLtrim (x,trim = NULL)

Arguments

x

input character vector

trim

single quoted character or an expression that yields a single character.

Value

String. Returns the input string removed by trim on the left. If trim is not specified, leading blanks are removed.

Author(s)

Bastian Wiessner

See Also

str_trim

Examples

1
xpssCompute(x="           inputstring", fun="computeLtrim")


Search within the translateSPSS2R package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.