Hello
Another option is to use Regex and an Assign activity. Preview the pattern here.
Assign left:
str_Result
Assign Right:
System.Text.RegularExpressions.Regex.Match(YOURSTRINGVARIABLE, β[^\]+(?=..*$)β).Tostring
You can learn Regex here:
Hopefully this helps
Cheers
Steve