matching strings and loading files

  • Thread starter Thread starter John
  • Start date Start date
J

John

Howdie

I got two issues. The file I load into a listbox, contain
alot of strange characters. How should I load the file so
the characters remain in shape as they have been as when
opened in VI,edit, etc. The other issue is that I wonder
if anyone have code snippets how to compare text in a
textbox to certain words.

John
 
Hello,

John said:
I got two issues. The file I load into a listbox, contain
alot of strange characters. How should I load the file so
the characters remain in shape as they have been as when
opened in VI,edit, etc.

Which code do you use for loading the text? Do you use the 'StreamReader'
class? Maybe wou should specify an encoding in its constuctor.
The other issue is that I wonder if anyone have code snippets
how to compare text in a textbox to certain words.

You can use the '=' operator to compare strings. What's the problem?!
 
Back
Top