sanitise.whitespace: Remove leading and trailing spaces; convert double spaces to...

Description Usage Arguments Value Author(s) Examples

Description

Convenience function for a series of gsub() calls.

Usage

1

Arguments

tt

a character vector.

Value

A character vector with leading and trailing spaces removed, and double spaces converted to single spaces.

Author(s)

Toby Johnson Toby.x.Johnson@gsk.com

Examples

1
sanitise.whitespace(c("  A to G", "A to  G", "A to G", "A   to G   "))


Search within the gtx 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.