Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: This caught me off guard


Message #1 by "Jerry Diegel" <diegelj@g...> on Thu, 21 Mar 2002 15:45:41 -0600
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 ..

  Return to Index