trimWhitespace {psichomics} | R Documentation

## Trims whitespace from a word

### Description

Trims whitespace from a word

### Usage

    trimWhitespace(word)

### Arguments

`word` | Character to trim

### Value

Character without whitespace

### Examples

    psichomics:::trimWhitespace("    hey   there     ")
    psichomics:::trimWhitespace(c("pineapple    ", "one two three",
                                  " sunken    ship   "))

[Package psichomics version 1.12.1 Index]