08-22-2024, 11:49 AM
(This post was last modified: 08-22-2024, 11:51 AM by monyanus.
Edit Reason: improve readability
)
@penguinkeeper You forgot that the appended "$" will also get duplicated and should be removed.
Not sure if my solution is the most efficient way, but I think you can solve it by using:
1) rotating to the right, "}" will rotate the word to the right, so "abc123$abc123$" becomes "$abc123$abc123"
2) delete the first character "D0" to remove the "$" in front.
The rule that you should use @simon0302010 is:
"$$ d } D0"
Not sure if my solution is the most efficient way, but I think you can solve it by using:
1) rotating to the right, "}" will rotate the word to the right, so "abc123$abc123$" becomes "$abc123$abc123"
2) delete the first character "D0" to remove the "$" in front.
The rule that you should use @simon0302010 is:
"$$ d } D0"