Take Name Before Comma and Store in Variable Take Name Before Comma and Store in Variable jasonhuibers (Programmer) (OP) 27 Mar 12 17:09 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" RE: Take Name Before Comma and Store in Variable ChrisHirst (IS/IT--Management) 27 Mar 12 17:51 split(string,",") Chris.Indifference will be the downfall of mankind, but who cares?Time flies like an arrow, however, fruit flies like a banana.Webmaster Forum RE: Take Name Before Comma and Store in Variable guitarzan (Programmer) 28 Mar 12 02:44 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 http://www.tek-tips.com/market.cfm for posting policies here.