In reply to Van Knowles.

Thank you, Van, for your vote, comment and suggestion. Great catch, it seems logical to trim x when using it in tranwrd() function. Interestingly, I stressed the significance of trim under the find function, but neglected to be consistent in using it under tranwrd as well. I tested this on the data and use case provided in the blog post and achieved 2-3% improvement in both, function and call routine. I have updated the blog's code with your suggested change. Thank you again!