Description Usage Arguments Details Value Constraints See Also Examples
Removes extra spaces from elements
1 | FLSqueezeSpace(object)
|
object |
FLVector of characters |
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.
FLVector with extra spaces removed
row vectors are not supported currently.
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.
1 2 3 | widetable <- FLTable("tblstringID", "stringID")
flv <- widetable[1:6,"string"]
resultflvector <- FLSqueezeSpace(flv)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.