Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

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

MplusAutomation

An R Package for Facilitating Large-Scale Latent Variable Analyses in Mplus

v0.8
LGPL-3
Authors
Michael Hallquist [aut, cre], Joshua Wiley [aut], Caspar van Lissa [ctb], Daniel Morillo [ctb]
Initial release
2020-09-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.