E.g. Full name = "FirstName LastName "
I want to display the first element from FirstName and LastName so that the output should be = FL
Welcome to the uipath community.
Fullname = “FirstName LastName”
Fullname.Split(" "c)(0).substring(0,1)+Fullname.Split(" "c)(1).substring(0,1)
2 Likes
It worked, Thanks!
1 Like
You dont really need to split the first one right? Simpler like this:
Fullname.Substring(0,1)+Fullname.Split(" "c)(1).Substring(0,1)