How to replace “ in a string

Hi everyone,

I am trying to replace “ in a string using the .replace(“a”,”b”)

But it doesn’t work when I put this “””.

Can anyone help. Thank you so so so much


1 Like

Hi @Penganimation,
You can try it as below.

yourStr= Trim(yourStr). replace (" " “,”“).
Or yourStr= Trim(yourStr). replace (”“”,“”)
It will replace " from your string.

Hope this will work for you.

1 Like

Thank you so much. I will try it out when I reach home. Another question is that is there a way to replace part of the string with a variable programmatically?

Eg .replace(“page”, var1)

Yes, you can replace text using variable.

Here you go
An example xaml buddy (9.3 KB)

Kindly let know for any queries or clarification
Have a great day
Cheers @Penganimation

I must say that I have learnt something new from this, thank you so much!

1 Like

Cheers @Penganimation

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