How to replace ASCII code 04 in string variable?

Hello! I would like to replace character with ASCII code 04 in string variable. I don’t know how to tell CONVERTSTR(MyTextVar, here I need fill ASCII 04, ‘,’)? Can anyone tell me how can I do it? Thanks for all advices.

Hello Milan, define a new variable var1, type char. This is a special datatype to which you can assign a single character or an integer value (which refers to the ASCII value)… then the code should be as follows: var1 := 4; CONVERTSTR(MyTextVar, FORMAT(var1), ‘,’); Saludos Nils