|
-
Nov 6th, 2000, 09:37 PM
#1
Thread Starter
New Member
I need to get a first name and last name from a textbox such as:
Whole$ = Text1.Text
Pos% = InStr (Whole$, " ")
FstName$ = Mid$(Whole$, Pos% + 1, InStr(Whole$, " ") - 1)
LstName$ = Mid$(Whole$, Len(FstName$) + 2, Len(Whole$) - 1)
I have to enter: -new johnnyboy nighty
-new is the command
johnnyboy is the first name
nighty is the last name
and I get:
FstName$ -- john
LstName$ -- johnnyboy nighty
Whats wrong?
P.S. I am sorry for posting so many messages in one day, but whenever a problem arises I can't seem to fix, there is no one I know that can help me.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|