Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

finding Question Mark within string (instr does not work)

Status
Not open for further replies.

codecref

Programmer
Dec 8, 2003
118
US
hi guys
how do I find question mark "?" within a string? it seems that instr ("HELLO?","?") does not work. it must a like alternative instead of typing "?".

thanks
 
I must add that I wanted to do Replace but even REPLACE does not recognize it.
 
maybe what you think is a question mark is not actually a question mark?

MsgBox ChrW$(&H0281)+ChrW$(&H0282)+ChrW$(&H0283)
 
Just look for Chr(63)

_______________________________________
Yesterday I bought [Sweet Chilli Source for Chicken].
I added this to the food I gave to the chicken, but they did not like it.

Eman_2005
Technical Communicator
 
thank you guys, I dont know what is going on with email system but it did only sent me a single mail just now, anyway I found the problem which was in persian keyboard question mark key will move from character map 63 to 1567 which was not the one I was looking for.

this issue is resolved and I thanked your consideration indeed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top