trimSpace {MplusAutomation}R Documentation

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

MplusAutomation:::trimSpace(c("    test", "another    "))

[Package MplusAutomation version 1.1.0 Index]