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

excel
uiautomation
orchestrator
activities
studio

#1

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.


#2

Hi @Error,

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

Regards,
Rahamat


#3

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


#4

Use replace activity


#5

@Error
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)

Regards,
Mahesh