Learn R Programming

MplusAutomation (version 1.0.0)

trimSpace: Trim White Space

Description

Helper function to remove white space from a character vector

Usage

trimSpace(string)

Arguments

string

The character vector to trim white space from.

Value

A character vector with the white space removed.

Examples

Run this code
# NOT RUN {
MplusAutomation:::trimSpace(c("    test", "another    "))
# }

Run the code above in your browser using DataLab