in reply to Re: Re: Non-destructive substitution?
in thread Non-destructive substitution?

Probably not, but it may be what was requested: "a cleaner way to do that, preferably without having to use a temporary variable each time".

TIMTOWTDI,
Charles K. Clarkson