How do i split the name from the get text activity?

Hey people,

I was wondering wheather this is possible?

Like i used the “GET TEXT” activity in order to get some name from the web page:-1:

John P. Phuck

and now I want to use this full name in such a way that they are separated as first name and last name.

First name:- John P.
Last name:- Phuck

Like i wanna get text from some page and then use this text (stored in the variable on create) and use TYPE INTO to enter these two names in the different text boxes.

Hi @Error,

Please refer this page to know how to split a string.


1 Like

use split string activity under Microsoft activities if not available use split() using assign activity

1 Like

Use replace activity

1 Like

Let us take you are extracted a string strabc by using get text

First Name=strabc.Split({“.”},stringSplitOptions.RemoveEmptyEntries)(0)
Last Name=strabc.Split({“.”},stringSplitOptions.RemoveEmptyEntries)(1)