Nokia Interview Question

3. split the string into n equal part