JoinText
Revision as of 17:03, 4 July 2012 by LonnieTest (talk | contribs)
JoinText( A, I, separator, finalSeparator, default, textForNull )
Returns the elements of «A» (as text) concatenated along «I».
If any elements are numeric, they are converted to strings using the number format settings for the current node.
Null items are ignored, unless «textForNull» is specified.
Optional parameters
|
: | text inserted between each item. |
---|---|---|
|
: | Used instead of «separator» between the penultimate and final items. |
|
: | (new in 4.4.3) The result value when there are no items to be joined. E.g., when all items are Null. |
|
: | (new in 4.4.3) When specified, Null items are not ignored, and the text provided is used. |
Examples
Suppose A is the following array, indexed by J
J → 1 2 3 4 5 "one" "two" "three" "four" "five"
Then:
Treatment of Null. Suppose B' is the following array indexed by J
See Also
Comments
Enable comment auto-refresher