resultText += result[i];
helyett
resultText += result[i].substring(1, results[i].length() - 1);
BlackY