How to Split a string by fixed numbers


#1

For Example, I have a string which contains only numbers: “400012487”. I want to split it into an array. Each element contains 3 numbers(or characters): array(0)=“400”,array(1)=“012”, array(3)=“487”. How to do that?


#2

Hi,