How to replace string

I want to remove a string i.e. [View Hierarchy] from string clientName[View Hierarchy].

Means I want only string clientName and [View Hierarchy] should be removed from last.

Also there should not be any space or character in Main string when we remove it.

Actual output should be- clientName

Hi @Saurabh_Sahu,

Kindly check the example attached. It basically removes everything after the “[” character and it doesn’t matter how many characters are after that, it will remove them.

Main.xaml (6.0 KB)

1 Like

@acaciomelo Whoaaa,Thanks mate, it worked for me!!

1 Like

Hi, I have a issue with replace character same.
How to replace quote " character. Thanks