Ok to make it easier you can use the replace function:
strTest = "057030"
strTest = replace(strTest, chrw(9830), "")
This will replace all the diamond with
blanks.
Cardyin
-----------------------------------------
Cardyin Kim
Client/Server and Web Development Analyst
San Antonio Community Hospital
Upland, California
ckim@s... (xxx) xxx-xxxx
-----------------------------------------
-----Original Message-----
From: Jerry Diegel [mailto:diegelj@g...]
Sent: Thursday, March 21, 2002 1:46 PM
To: professional vb
Subject: [pro_vb] This caught me off guard
Why does this return 2?
Instr("057030",ascw(9830))
I was looking for, and replacing diamond characters when I realized that my
conditional was also going off when it found "57" in a string.
Thanks,
Jerry
to unsubscribe send a blank email to ..