Learn R Programming

MplusAutomation (version 1.1.1)

trimSpace: Trim White Space

Description

Helper function to remove white space from a character vector

Usage

trimSpace(string)

Value

A character vector with the white space removed.

Arguments

string

The character vector to trim white space from.

Examples

Run this code
MplusAutomation:::trimSpace(c("    test", "another    "))

Run the code above in your browser using DataLab