Combiner.CombineTextByLengths
Syntax
Combiner.CombineTextByLengths(lengths 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 lengths.
Example 1
Combine a list of text values by extracting the specified numbers of characters from each input value.
Usage
Combiner.CombineTextByLengths({1, 2, 3})({"aaa", "bbb", "ccc"})
Output
"abbccc"
Example 2
Combine a list of text values by extracting the specified numbers of characters, after first pre-filling the result with the template text.
Usage
Combiner.CombineTextByLengths({1, 2, 3}, "*********")({"aaa", "bbb", "ccc"})
Output
"abbccc***"
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for