String () { final String text = getNode().getText().trim(); if (text.length() < 2) return null; final char adorn = text.charAt(text.length()-1); final CharacterIterator it = new StringCharacterIterator(text); int start = 0; for (char ch = it.last(); ch != CharacterIterator.DONE; ch = it.previous()) { if (ch != adorn) { start = it.getIndex() + 1; break; } } return text.substring(start); }