@Test
public void splitCharCharStr() throws Exception {

	String[] tab;
	
	tab = TextUtil.split('(',']',"(a](b](c](d]");  //$NON-NLS-1$
	assertArrayEquals(new String[]{
			"a",  //$NON-NLS-1$
			"b",  //$NON-NLS-1$
			"c",  //$NON-NLS-1$
			"d",  //$NON-NLS-1$
		}, tab);
	tab = TextUtil.split('(',']',"start (a]bbb (b eee](c](d]zzz end");  //$NON-NLS-1$
	assertArrayEquals(new String[]{
			"start",  //$NON-NLS-1$
			"a",  //$NON-NLS-1$
			"bbb",  //$NON-NLS-1$
			"b eee",  //$NON-NLS-1$
			"c",  //$NON-NLS-1$
			"d",  //$NON-NLS-1$
			"zzz end",  //$NON-NLS-1$
		}, tab);
	tab = TextUtil.split('(',']',"start (a]bbb (b (eee]](c](d]zzz end");  //$NON-NLS-1$
	assertArrayEquals(new String[]{
			"start",  //$NON-NLS-1$
			"a",  //$NON-NLS-1$
			"bbb",  //$NON-NLS-1$
			"b (eee]",  //$NON-NLS-1$
			"c",  //$NON-NLS-1$
			"d",  //$NON-NLS-1$
			"zzz end",  //$NON-NLS-1$
		}, tab);
	tab = TextUtil.split('(',']',"start (a]bbb (b (e(e(e]f]]](c](d]zzz end");  //$NON-NLS-1$
	assertArrayEquals(new String[]{
			"start",  //$NON-NLS-1$
			"a",  //$NON-NLS-1$
			"bbb",  //$NON-NLS-1$
			"b (e(e(e]f]]",  //$NON-NLS-1$
			"c",  //$NON-NLS-1$
			"d",  //$NON-NLS-1$
			"zzz end",  //$NON-NLS-1$
		}, tab);
	tab = TextUtil.split('(',']',"start (a]bbb (b (e(e(e]f]]](](d]zzz end");  //$NON-NLS-1$
	assertArrayEquals(new String[]{
			"start",  //$NON-NLS-1$
			"a",  //$NON-NLS-1$
			"bbb",  //$NON-NLS-1$
			"b (e(e(e]f]]",  //$NON-NLS-1$
			"",  //$NON-NLS-1$
			"d",  //$NON-NLS-1$
			"zzz end",  //$NON-NLS-1$
		}, tab);
}