Trim a name and remove duplicate tabs and whitespaces

Description

Remove duplicate and misplaced whitespace characters

Usage

1
trim(taxon)

Arguments

taxon

a character vector with a single taxon name

Value

a character vector

Examples

1
2
3
4
## Not run: 
trim("   Myrcia  lingua")

## End(Not run)