extracting a date from a file name using substrings in uipath ?
The filename was this format: first_second_DDMMYYYY
@RajivKumar12 If the input is always in that format, that is the date is separated by two underscores, then You can use split method based on the underscore, and then get the Third Element. Below is the Expression :
str = "first_second_DDMMYYYY" //str is a variable of type String date = Split(str,"_")(2) // date is a variable of Type String
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.