public static String trim(final String input, final String delims) {
        StringTokenizer tokens = new StringTokenizer(input, delims);
        return tokens.hasMoreTokens() ? tokens.nextToken() : "";
    }
@Test
    public void testTrim() {
        assertEquals("", JOrphanUtils.trim("", " ;"));
        assertEquals("", JOrphanUtils.trim(" ", " ;"));
        assertEquals("", JOrphanUtils.trim("; ", " ;"));
        assertEquals("", JOrphanUtils.trim(";;", " ;"));
        assertEquals("", JOrphanUtils.trim("  ", " ;"));
        assertEquals("abc", JOrphanUtils.trim("abc ;", " ;"));
    }