Issue in Replacing "?"

I am trying to replace the following string “<?xml version=”“1.0"” encoding=““utf-8"”>” with null “” value using Replace activity but it is returning <?. Is there any way to completely replace the value using Replace activity?

Hello @Harsha_Tiwari

Is it in a string variable?

If yes,

yourvariable.Replace(“?”,“”)

Thanks

Hi @Harsha_Tiwari try this workflow

Sequence.zip (1.3 KB)

HI @Harsha_Tiwari

It works correctly. Can you please post your screenshot

image

Thanks