public int SearchStartChar(String FileText, int CharNumStart, char startChar) {
        int i = 0;
        char ch = ' ';
        try {
            i = CharNumStart;
            while (i > 0) {
                if (i == -1) {
                    i = 0;
                    break;
                }
                ch = FileText.charAt(i);
                if (ch == startChar) {
                    break;
                } else if (ch == ')' & i > 0) {
                    i = SearchStartChar(FileText, i - 1, '(');
                } else if (ch == '}' & i > 0) {
                    i = SearchStartChar(FileText, i - 1, '{');
                } else if (ch == '\"') {
                    i = FileText.lastIndexOf('\"', i - 1);
                } else if (ch == '\'') {
                    i = FileText.lastIndexOf('\'', i - 1);
                }
                i--;
            }
            return i;
        } catch (Exception e) {
            e.printStackTrace();
            return 0;
        }
    }