in reply to How do you perform this substitution?

The documentation merely "assumes" that you know what the compiler-term lvalue means. What it means is what has been done here. Another useful technique is to use the optional fourth-argument of the substr() function to perform the substitution while returning what used to be there ... very handy if for any reason you need to know what it is you just substituted.
  • Comment on Re: How do you perform this substitution?

Replies are listed 'Best First'.
Re^2: How do you perform this substitution?
by Anonymous Monk on Jun 25, 2014 at 12:48 UTC
    Ah, also nice trick that you can do the substitution inside the substr command.
    Thanks again!