AnsweredAssumed Answered

replacing text from string

Question asked by rigonzalez on Nov 7, 2018
Latest reply on Nov 9, 2018 by chaddavis

Hello,

How can I replace all special characters in a workflow? Say you get a string from a SharePoint list: (MyString#1-a). So, I want to remove all special characters from that string: ()#- and I want to replace them with an HTML code for each symbol. So my final string would be: %2528MyString%25231%252Da%2529

where...

%2528 is the parentheses

MyString

%2523 is the #

1

%252D is the -

a

 %2529 is the closing parentheses

 

Note, I have all the html encoding reference for special characters.

Outcomes