|
-
April 5th, 2012, 05:50 PM
#14
Re: String.Find() not working ...
 Originally Posted by ChadReitsma
And one thing, OF COURSE I'M DEBUGGING MY CODE - Christ... I use traces and breakpoints  lol
You still have not shown actual code, and in particular, you have not shown the so-called "trace: {xpos}" statement upon which all of your conclusions are drawn.
Paul's post proves that if a statement like comData.find("X:") is not returning your expected value, then comData simply does not contain the substring "X:". So there are only two possibilites: either comData does not contain the value "X:", or it does and you are not correctly interpreting the returned value of xpos.
As suggested in your other post on an identical question (see your post #18 in http://forums.codeguru.com/showthread.php?t=522597 ), please single-step through the affected code and confirm the actual values of all variables.
Mike
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|