Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 766 Bytes

combiner-combinetextbyranges.md

File metadata and controls

32 lines (22 loc) · 766 Bytes
description title ms.subservice
Learn more about: Combiner.CombineTextByRanges
Combiner.CombineTextByRanges
m-source

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"