hey,
i have a string for example
abcdefghijklmnopqrstuvwxyz
is there any function or something that
will let me split this string
into several pieces?

lets say:
split(string,number of pieces)

note that i dont care if the len(string) is non dividable from the given number of pieces

for example

if the string is

abcde

and the number of pieces are 3 its ok to give a result like this:

var[1] = ab
var[2] = cd
var[3] = e


somehow with an array

hope its not that hard,
thanks in advance!