Hello everybody,
I want change format email for keep Name and Surname.
For exemple :
IN OUT
loic.dupont@gmail.com Dupont Loic
christ.chan@gmail.com Chan Christ
It’s possible ?
Thank !
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
2 Likes
system
(system)
Closed
3
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.