@Test
public void splitWithLimit3() {

    String string = "01234_567891_01112ZZ1234567890_ABC_xyz";
    final char[][] split = CharScanner.split(string.toCharArray(), '_', 3);
    String one = new String(split[0]);
    ok |= one.equals("01234") || die(one);
    String two = new String(split[1]);
    ok |= two.equals("567891") || die(two);
    String three = new String(split[2]);
    ok |= three.equals("01112ZZ1234567890") || die(three);
    String four = new String(split[3]);
    ok |= four.equals("ABC_xyz") || die(three);
}