opomba,
Dostop do te strani zahteva pooblastilo. Poskusite se vpisati alispremeniti imenike.
Dostop do te strani zahteva pooblastilo. Poskusite lahko spremeniti imenike.
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"}