i understand the use of mid. i just confuse the program. im new in visual basic.. sorry..

thanks for the explanation..