79232003

Date: 2024-11-27 22:06:41
Score: 1
Natty:
Report link

Quick and easy fix, you can remove the last character in the string using the substring method:

result.substring(0, result.length()-1);

This return a new string containing the element from 0 to length()-1 meaning everything except the last character

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: etienneoh