Results 1 to 3 of 3

Thread: RESOLVED: Input not case sensitive

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2005
    Posts
    108

    Resolved RESOLVED: Input not case sensitive

    Ok, im making a dictionary-like program, and what i want to do is be able to have a sub similar to this

    VB Code:
    1. If Text1.Text = "something" Then
    2.     dosomething
    3. End If
    4. End Sub

    how would i make it so that the input coming from text1 was not case sensitive?
    Last edited by Hack; Apr 25th, 2006 at 06:08 AM.

  2. #2
    eltiT resU motsuC Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Re: Input not case sensitive

    format it lower case

    If lcase(text1) = "something" then

    end if
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 2005
    Posts
    108

    Re: Input not case sensitive

    Thanks! it works perfectly!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width