Question
string handling - splitting a variable
Hi,
i have a name variable that is a persons full name eg. "John Doe".
What string handling function can I use to split the name into two variables eg fname="John" lname="Doe"?
i think it might be something to do with locating the " "(space) character but I don't know how to actually do it.
Thanks
i have a name variable that is a persons full name eg. "John Doe".
What string handling function can I use to split the name into two variables eg fname="John" lname="Doe"?
i think it might be something to do with locating the " "(space) character but I don't know how to actually do it.
Thanks