Need to extract text from string

Hi all.

I have sample text like c:\documents\project{year\month}.

From the above text I need to extract only {year\month}. Can anyone please help with string function on how to extract it. Thank you in advance.


Welcome to our uipath community.

Try below expression.

                    inputStr =  "c:\documents\project{year\month}"
                    requiredStr = "{"+inputStr.Split("{"c)(1)

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