79795576

Date: 2025-10-21 08:07:15
Score: 0.5
Natty:
Report link
output = string.replace(fragment, "*", 1).replace("fragment", "").replace("*", fragment)

If needed, replace "*" with some token string which would never occur on your original string.

"Batteries included" doesn't mean that you can do everything you want with single built-in function call.

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