This project is read-only.

problem with use of uninitialized variable in INSTR

Oct 12, 2010 at 9:13 AM

trying to use uninitialized variable throws following error NullReferenceException
if following code is executed an error of type System.NullReferenceException: Object reference not set to an instance of an thrown
dim pvEmailId
if InStr(1,pvEmailId,"@")>0 then
response.Write "some "
end if