public String GetCurrentLine(int pindex) {
        int tindex = pindex;
        if (pindex >= length) {
            tindex = length - 1;
        }
        while ((tindex > 0 )&& (iExpr.toCharArray()[tindex] != '\n')) {
            tindex--;
        }

        if (iExpr.toCharArray()[tindex] == '\n') {
            tindex++;
        }

        String CurrentLine = "";

        while ((tindex < length) && (iExpr.toCharArray()[tindex] != '\n')) {
            CurrentLine = CurrentLine + iExpr.toCharArray()[tindex];
            tindex++;
        }

        return CurrentLine + "\n";

    }