Resolve "Enhacement proposal: LCM text replace operator"
Implements a text replace operator by defining a new block with three inputs:
- The text that will be modified (
input) - The text whose occurrences will be replaced (
before) - The text replacement (
after)
This then generates Java code using the replace() method, roughly as follows:
input.replace(before, after)
That will replace all occurrences of before in input with after.
Closes #45 (closed)