Notiz
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Iech unzemellen oder Verzeechnesser ze änneren.
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Verzeechnesser ze änneren.
Syntax
Splitter.SplitTextByRepeatedLengths(length as number, optional startAtEnd as nullable logical) as function
About
Returns a function that splits text into a list of text after the specified length repeatedly.
Example 1
Repeatedly split the input into chunks of three characters, starting from the beginning of the input.
Usage
Splitter.SplitTextByRepeatedLengths(3)("12345678")
Output
{"123", "456", "78"}
Example 2
Repeatedly split the input into chunks of three characters, starting from the end of the input.
Usage
let
startAtEnd = true
in
Splitter.SplitTextByRepeatedLengths(3, startAtEnd)("87654321")
Output
{"87", "654", "321"}