• Strawberry
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Just don’t replace, or replace only the first letter with the numeral

    • DaleGribble88@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      You can’t just replace the first letter either, because depending on the order of your replacements, you could be replacing the end of another number. (Encountered this exact problem trying to optimize my solution.)