grizzlyjdw2
Registered User.
- Local time
- Today, 09:09
- Joined
- Feb 26, 2009
- Messages
- 22
ok, here is what i am up against:
i am reading in a txt file into a string. so for example i get the following
abc
def
now i am searching through the text for def, which works fine, but i am putting in error handling cases (ie if network is a word and i am searching for work, it should not return a positive)
anyway, the return after the word i can detect and work with. however the return in front of the word i can not seem to detect.
if i check the character before d for a return i don't get a positive, if i check the character after c i get a return. how is that possible?
for the return character i am using chr$(13)
any help would be appriciated
i am reading in a txt file into a string. so for example i get the following
abc
def
now i am searching through the text for def, which works fine, but i am putting in error handling cases (ie if network is a word and i am searching for work, it should not return a positive)
anyway, the return after the word i can detect and work with. however the return in front of the word i can not seem to detect.
if i check the character before d for a return i don't get a positive, if i check the character after c i get a return. how is that possible?
for the return character i am using chr$(13)
any help would be appriciated