How can I parse a field with separating commas

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

The field has information that must be parsed out -- it looks like this:
firstname,middlename,lastname,maidenname
I need to have each name in a unique field.
 
Take a look at Split function - it may the answer you are
looking for:

Dim values as Variant
values = Split(inputString, ",")
firstName = values(0)
middleName = values(1)
...

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top