@Test
public void splitAsListCharCharStr() throws Exception {

	List<String> tab;
	
	tab = TextUtil.splitAsList('|','=',"|a=|b=|c=|d=");  //$NON-NLS-1$
	assertCollectionEquals(Arrays.asList(
			"a",  //$NON-NLS-1$
			"b",  //$NON-NLS-1$
			"c",  //$NON-NLS-1$
			"d"  //$NON-NLS-1$
		), tab);
	tab = TextUtil.splitAsList('|','=',"start |a=bbb |b eee=|c=|d=zzz end");  //$NON-NLS-1$
	assertCollectionEquals(Arrays.asList(
			"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.splitAsList('|','=',"start |a=bbb |b |eee==|c=|d=zzz end");  //$NON-NLS-1$
	assertCollectionEquals(Arrays.asList(
			"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.splitAsList('|','=',"start |a=bbb |b |e|e|e=f===|c=|d=zzz end");  //$NON-NLS-1$
	assertCollectionEquals(Arrays.asList(
			"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.splitAsList('|','=',"start |a=bbb |b |e|e|e=f===|=|d=zzz end");  //$NON-NLS-1$
	assertCollectionEquals(Arrays.asList(
			"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);
}