propagandhi
Member
- Joined
- Feb 20, 2005
- Messages
- 18
- Programming Experience
- Beginner
suppose i wanted to take a name from a text box and seperate the full name into strFirst and strLast, and the display the name reformated.
I know that in order to display the name reformated i would do something like:
dim strFirst as string
dim strLast as string
dim strName as string
dim strNew as string
strName = txtName.text.toString
*
*strFirst =
*
*strLast =
*
strNew = (strLast & "," & " " & strFirst)
lblNew.text = strNew
My problem is with seperating the first and last names. I have tried working with the .split function but have had no success.
Any help is greatly appreciated,
Steve
I know that in order to display the name reformated i would do something like:
dim strFirst as string
dim strLast as string
dim strName as string
dim strNew as string
strName = txtName.text.toString
*
*strFirst =
*
*strLast =
*
strNew = (strLast & "," & " " & strFirst)
lblNew.text = strNew
My problem is with seperating the first and last names. I have tried working with the .split function but have had no success.
Any help is greatly appreciated,
Steve