Extract firest email form multible

Hi,

In my project, I am extracting emails from an app. When I have many emails stored after extraction in an argument (in_SentTo), I must select the first one and use the same argument (in_SentTo) to send the email. What is the correct value to do that?
image
and after the extract will be like this:
“first email;second email”

Hi @RPA_Dev13

Input.Split(";")(0)

Regards,

not work
in_SendTo.Split(“;”)(0)
The following errors were encountered while processing the workflow tree:
‘VisualBasicValue’: Compiler error(s) encountered processing expression “in_SendTo.Split(”;“)(0)”.
Option Strict On disallows implicit conversions from ‘String’ to ‘Char’.

@RPA_Dev13

Try this

Input.Split(";"c)(0)

Regards,

done it works , thanks

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.