i already seen this type of forum for counting the 'þ' charecter
possibly ask the question in the same thread for that
click myprofile ==> myposts
ok
what is your need ?
there are two y in middle and last from which to which?
use the instr function to solve this problem if you want to know more about string fuctions in vb6
try this link
http://www.vb6.us/tutorials/vb6-string-functions