0

i'm using the line below to find a position of the test withing HTML document and it works fine on a 64bit machine but does not work on my 32bit Windows 2008 server.

IntStart1 variable returns 2 on 64bit and 0000029ae on 32 bit. please help.

Int32 intStart1 = strHtmlText.IndexOf("<TABLE class=");
David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490
Paul Kogan
  • 681
  • 1
  • 5
  • 3

1 Answers1

4

String.IndexOf() is one of the most widely used functions in existence. I'd be simply astounded if it did not work.

The most likely explanation is that you have different values for strHtmlText. Inspect the values of that string and I'm sure you will see what is going on.

David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490