Split a string in a number of pieces with fixed length
StrChop(x, len, pos)
the string to be cut in pieces.
a vector with the lengths of the pieces.
a vector of cutting positions. This can not be used simultaneously with
If length is going over the end of the string the last part will be returned, so if the rest of the string is needed, it's possible to simply enter a big number as last partlength.
pos can't be defined simultaneously, only alternatively.
Typical usages are
a vector with the parts of the string.
Andri Signorell <[email protected]>
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.