Table of contents
TOC
Collapse the table of content
Expand the table of content

Splitter.SplitTextByPositions

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

About

Returns a function that splits text according to the specified positions.

Splitter.SplitTextByPositions(positions as list) as function  

Arguments

ArgumentDescription
positionsThe positions to split on.

Remarks

  • Each item in positions should be a non-negative number indicating the position at which to break the text, and each item must be greater than or equal to the previous. SplitTextByPositions works by computing a set of ranges by using the difference between subsequent positions as lengths (with the last position of effectively infinite length) and delegating to SplitTextByRanges. The list returned will have the same cardinality as that of the positions.
© 2018 Microsoft