I have name rozzas SOPHIA ROZZA whic i extracted from the webpage by using get text…now I want rozza as short name and SOPHIA ROZZA as full name…can any one please help me by aciving it by split…i tried it but its not coming like that.
String[ ] result = “SOPHIA ROZZA”.Split(" "C);
result = “SOPHIA”
result = “ROZZA”
save the variable as name
String[ ] nameSplitted= name.Split(" "C);
short = nameSplitted
fullName= nameSplitted + " " + nameSplitted