How to get substring in UI path



Hi all,

I want to extract “(2345)” from string ---- “(2345) product kk testdescription”

please guide


Hi @piyush.2224,

First of all, before posting something, please try to search it in the UiPath forum because it contains a lot of examples using substring. You just have to search for the word ‘substring’ here:

However, in this case, you could try the following code to get the information you need:

Main.xaml (6.4 KB)