Executes all the actions of this When.
the String to match against.
whether this When matches against output
.
the output to trim.
the text in output
that remains after removing all the text up to the first occurrence of the text
matched by this When and then removing the text matched by this When.