Sheldon Livingston
asked on
C# voodoo needed.
Can anyone tell me the voodoo needed to test for BACKUP<DIV is contained in str?
str is declared as a string.
These attempts throw VS errors
if (str.IndexOf("BACKUP<DIV") ) != true)
if (str.IndexOf("BACKUP<DIV") ) <> true)
if (str.IndexOf("BACKUP<DIV") ) != 0)
if (str.IndexOf("BACKUP<DIV") ) <> 0)
str is declared as a string.
These attempts throw VS errors
if (str.IndexOf("BACKUP<DIV")
if (str.IndexOf("BACKUP<DIV")
if (str.IndexOf("BACKUP<DIV")
if (str.IndexOf("BACKUP<DIV")
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No problem, glad it was easily resolved.
»bp
»bp
ASKER