Hi sahil_raina_91.
This works but unfortunately before this action I am setting the first two letters of two words to upper case. This action sets them as lowercase again. Dataitem1 = john-joe. I achieve this by splitting the text by "-" and then work with each word individually. I set the first letter of each word as uppercase and then use join text, to join them back on their separator. "-" . I needed your code to get rid of the extra "-" that was at the end of the joe. (John-Joe-) After your code, returns (john-joe)