Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Take Name Before Comma and Store in Variable

Status
Not open for further replies.

jasonhuibers

Programmer
Sep 12, 2005
290
CA
I have a textbox containing the full name of the client:

txtFullName = "Smith, John"

I want to put the last name into a variable and the first name into another variable:

varLName = "Smith"
varFName = "John"
 
jasonhuibers:
I can't help but notice that in nearly every thread you create here at tek-tips, you almost never give any kind of feedback.

Your feedback is VERY important. The site is not here just to help you... it is here to help you and many others who have the same problem as you, and come across your thread in their search for an answer. If you don't reply when a solution is found (or not found), no one else knows if the help given was of any value. It is also common forum etiquette (and common courtesy) to thank those who spent their time helping you.

Please see for posting policies here.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top