FLSqueezeSpace: Remove extra spaces in strings

Description Usage Arguments Details Value Constraints See Also Examples

Description

Removes extra spaces from elements

Usage

1

Arguments

object

FLVector of characters

Details

The DB Lytix function called is FLSqueezeSpace.The squeeze space function is a scalar that removes extra spaces within a string and outputs a properly formatted string.

Value

FLVector with extra spaces removed

Constraints

row vectors are not supported currently.

See Also

gsub for base aproach, str_replace_all and str_trim for stringr approach, stri_replace_all_charclass and stri_trim for stringi approach in R function reference implementation.

Examples

1
2
3
widetable  <- FLTable("tblstringID", "stringID")
flv <- widetable[1:6,"string"]
resultflvector <- FLSqueezeSpace(flv)

Fuzzy-Logix/AdapteR documentation built on May 6, 2019, 5:07 p.m.