Need to read certain characters in a string

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

Guest

I have a string of data. I need to "read" certain characters, for instance
the fifth,six, and seventh character. How can I do this?
 
ANStech said:
I have a string of data. I need to "read" certain characters, for
instance the fifth,six, and seventh character. How can I do this?

Check Help file fo rthe Mid() function.

Mid(3, 1, "Test") will return "s"
 
Rick Brandt said:
Check Help file fo rthe Mid() function.

Mid(3, 1, "Test") will return "s"

Um, no it won't, Rick.

Mid("Test", 3, 1) will, though...
 
Douglas said:
Um, no it won't, Rick.

Mid("Test", 3, 1) will, though...

DOH!

I think I was still in InStr() mode where the start position comes first
when I wrote that.
 

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