private int underlineHandler(char[] chars, int i) {

        basicText.append("\\u ");
        String plainWord = "";
        while (chars[i] != ' ') i++;
        i++;
        while (chars[i] != '}' && i < chars.length) {
            plainWord = plainWord + chars[i];
            i++;
        }
        basicText.append(plainWord);
        basicText.append(" \\u");

        return i;
    }