if\(toExecute.matches\(".\*\(\\\\\{\\\d\\\\\}\).\*"\)\)\{
        int countP = \(" "+toExecute+" "\).split\("\(\\\\\{\\\d\\\\\}\)"\).length-1;
        String\[\] params = param.trim\(\).split\("\[ \]"\);
        List realParams = new ArrayList\(\);
        StringBuffer rest = new StringBuffer\(\);
        for \(int i = 0; i < params.length; i++\) \{
            if\( i <countP\)\{
                realParams.add\(params\[i\]\);
            \}else\{
                rest.append\(" "+params\[i\]\);
            \}
        \}
        toExecute = MessageFormat.format\(toExecute + rest, realParams.toArray\(\)\);
    \}else\{
        toExecute = toExecute + param;
    \}