Skip to main content

StringPartition

StringPartition["string",n] partitions string into nonoverlapping substrings of length n.

StringPartition["string",n,d] generates substrings with offset d.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.