How to remove parentheses around a word?

How to remove parentheses around a word for example : Greg (Blake) should be just Greg Blake.

Hy @michaelamay0,

Simple as that.

Use the assign activity

MyString = “(Blake)”
MyString = Strings.Replace( MyString,"(","")
MyString = Strings.Replace( MyString,")","")

Regards

@michaelamay0
The replace Method IS chainable.
Give a try on:
YourStringVar.Replace("(","").Replace(")","")

another Option is to do it with regex replace

2 Likes