One simple way is to use .Split using the character that’s consistent like the dash.
arrString = str.Split("-"c)
Then run that through a loop to extract each element and process.
For each str In arrString Message Box str
EDIT:
Or instead just store each element directly without a loop, like, str1 = arrString(0) str2 = arrString(1) str3 = arrString(2)
If the character can change other than a dash or if there are random alpha/special characters then you might consider using System.Text.RegularExpressions.Regex.Match( ) with a pattern
Hi, @Venkatp
Try this statement in Assign activity
variable=Regex.Matches(yourString,“\d+”)
Before that you need to import System.Text.RegularExpression in import panel
Then in for each loop iterate the variable…
you can achieve that… Regards,