Learn R Programming

flora (version 0.3.4)

trim: 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

Run this code
# NOT RUN {
trim("   Myrcia  lingua")
# }

Run the code above in your browser using DataLab