Hello,
Some while ago i got this great code to colour a part of the text
I like to change it now with a custom part
I have a separated label and i add lets say J
And the name will colour Label13_3 where the J is located or any other Char.
With(
{
wMessage:
Split(Label13_3," ")
},
"<html><head>
<meta charset='utf-8' />
</head>
<body><b>" &
First(wMessage).Result & " " &
"<b style='background-color:#68FF00;'>" & Index(wMessage,2).Result & "</b>" & " " &
Index(wMessage,3).Result & " " &
Index(wMessage,4).Result & " " &
Index(wMessage,5).Result & "</b>
</body></html>"
)
So lets say the sample here is John Doe
The above code will colour Doe
And i want to change it with J from the separated label
So how can i make the code colour this part instead so it will always looks for the first part of any word after a space that's contains J or any char i have added?
Thank you.