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

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

        return i;
    }