FLConcatString: Concatenate elements of vector

Description Usage Arguments Details Value Constraints See Also Examples

Description

Concatenate elements of FLVector with a delimiter as collapse value.

Usage

1
FLConcatString(object, delimiter)

Arguments

object

FLVector of characters

delimiter

character

Details

The DB Lytix function called is FLConcatString. The concat string function is an aggregate that joins the values of a string column from a table(or a vector of characters) into an output string using a user supplied delimiter to separate the fields.

Value

FLVector of length 1 with result string

Constraints

row vectors are not supported currently.

See Also

paste0 for R function reference implementation.

Examples

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

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