Combiner.CombineTextByRanges

Syntax

Combiner.CombineTextByRanges(ranges as list, optional template as nullable text) as function

About

Returns a function that combines a list of text values into a single text value using the specified output positions and lengths. A null length indicates that the entire text value should be included.

Example 1

Combine a list of text values using the specified output positions and lengths.

Usage

Combiner.CombineTextByRanges({{0, 1}, {3, 2}, {6, null}})({"abc", "def", "ghijkl"})

Output

"a  de ghijkl"