Inside a HTML email, splt variable, first part in bold, second part normal text


I’m trying to get this part of the code working.
This is an email in HTML and I need to split a variable, and make the left part of the division in bold, and the right part as normal text.

This is what I’m trying:
<html><b>"+Split(varExceptionsData,"-").ToString(0) +"</b>" +Split(varExceptionsData,"-").ToString(1)+"</html>

Can someone help me please?

Thank you!

Your split would look like this :


Also take care about the space / separator that you would want to see in between your splits in the html. you have not specified any.


Thank you for your help!

1 Like

Most Welcome. :slight_smile:
Mark the answer as a solution if it works for you.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.