trim: Trim a name and remove duplicate tabs and whitespaces

View source: R/trim.R

trimR Documentation

Trim a name and remove duplicate tabs and whitespaces

Description

Remove duplicate and misplaced whitespace characters

Usage

trim(taxon)

Arguments

taxon

a character vector with a single taxon name

Value

a character vector

Examples

## Not run: 
trim("   Myrcia  lingua")

## End(Not run)

gustavobio/flora documentation built on Feb. 3, 2024, 8:40 a.m.