How to read data in TextBox?

  • Thread starter Thread starter Husam
  • Start date Start date
H

Husam

Hi EveryBody:

In Vb.net , How can I know if the Textbox contain the word "love" or
not, without considring if it is written by small letters or capital
letters
for example:
If the sentence in the Textbox is " LOVE is the first thing in any
relationship" and I want to know if the word "love" which written by
small letters exist in the Textbox where the word "LOVE" written
inside it by big letters?

How can I do that?

any help will be appreciated

Husam
 
Husam said:
In Vb.net , How can I know if the Textbox contain the word "love"
or not, without considring if it is written by small letters or
capital letters
for example:
If the sentence in the Textbox is " LOVE is the first thing in any
relationship" and I want to know if the word "love" which written
by small letters exist in the Textbox where the word "LOVE"
written inside it by big letters?

How can I do that?

if textbox.text.tolower.indexof("love") > -1 then
 
Back
Top