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?!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top