SpreadJS Documentation
TEXTJOIN
SpreadJS Documentation > Formula Reference > Formula Functions > TEXTJOIN

This function combines the text from multiple strings, and includes the specified delimiter between each text value.

Syntax

TEXTJOIN(delimiter, ignore_empty, value1, value2,...)

Arguments

This function has the following arguments:

Argument Description
delimiter Refers to a text string (either empty, or one or more characters inside double quotes) or a cell reference containing text value. If you pass a number in this argument, it will be recognized as text.
ignore_empty Accepts a boolean TRUE or FALSE. If this value is TRUE, it ignores empty cells.
value1 Refers to a text string, or an array of strings to be joined.
value2 [Optional] Refers to the additional text strings to be joined.

Remarks

The resultant string can hold a maximum of 32767 characters. If the resultant string exceeds this limit, this function will return an error.

Data Types

Returns string data.

Examples

TEXTJOIN(" ",TRUE, "You", "may", "get", "late", "for", "party.") gives the result You may get late for party.

See Also