Hi!
Take one Assign Activity create one string variable (Output) in value field try this
Output = System.Text.RegularExpressions.regex.match(InputVariable,".*(?=@)").ToString
In message box do like this
output.Split(".")(1)+" "+output.Split(".")(0)
Reference:
If you want those two characters in proper case do like this:
Navigate to import panel in UiPath studio search for this Namespaces
System.Globalization
Do like this:
CultureInfo.CurrentCulture.TextInfo.ToTitleCase(Output)
Where output is the output variable.
Regards,
NaNi