• Replace string variables with item values from datarow

    Here is a short function which is helpful if you want to put variables from a datarow into a text string. This could be used e.g. if you want to create something like a bulk letter or else. You could define a text like ‘Dear [FirstName] [LastName], …’. Variables are enclosed in square brackets. If the variable is found in the supplied datarow it is replaced in the text.

     

Leave a comment

If you want to share your opinion, leave a comment.

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">