Splitter.SplitTextByPositions

 

This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.

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

Splitter.SplitTextByPositions(positions as list) as function  

ArgumentDescription
positionsThe positions to split on.
  • 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.
Show: