trim.whitespace: Trim leading/trailing whitespace from character strings

Description Usage Arguments Value Author(s) Examples

Description

Trim leading and trailing whitespace from character strings. Used by read.gantt and read.burndown.

Usage

1

Arguments

x

a character string, or vector of character strings.

Value

As x, but with leading and trailing space removed

Author(s)

Dan Kelley

Examples

1
2
3
4
library(plan)
x <- c("  hellow there", "ba bye   ", " buddy   ")
print(x)
print(trim.whitespace(x))


Search within the plan package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.