trimWhiteSpace: Trim Leading and Trailing White Space

Description Usage Arguments Value Author(s) See Also Examples

View source: R/read.R

Description

Trims leading and trailing white space from character strings.

Usage

1

Arguments

x

character vector

Value

A character vector of the same length as x in which leading and trailing white space has been stripped off each value.

Author(s)

Tim Beissbarth and Gordon Smyth

See Also

An overview of LIMMA functions for reading data is given in 03.ReadingData.

Examples

1
2
x <- c("a "," b ")
trimWhiteSpace(x)

Example output

[1] "a" "b"

limma documentation built on Nov. 8, 2020, 8:28 p.m.