开发者

indexof on 64 vs 32 bit pc

开发者 https://www.devze.com 2023-04-11 12:15 出处:网络
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.

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=");


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消