79581183

Date: 2025-04-18 14:04:46
Score: 1.5
Natty:
Report link

This works with most shells: ksh, bash and derivates and it's fast because it doesn't fork any command:

TESTSTRINGONE="MOTEST"

NEWTESTSTRING=${TESTSTRINGONE%${TESTSTRINGONE#?????}}
echo ${NEWTESTSTRING}
Reasons:
  • Blacklisted phrase (1): ???
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: joseyluis