Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Contains

sadawsonsadawson Member Posts: 4
I am searching through an array I want to pull up values that match the input in my text box bases on containing it. With .net I can either say if textbox1.text = array(i) then
messagebox.show = array(i)

or

if textbox1.text like array(i) then
messagebox.show = array(i)

But this only matches up when the use enters the entire word. I would like to do a contains so if the user only enters part of the value it will still pull it up. Does this make sense? Any help would be greatly appreciated.

Comments

  • Justin BibJustin Bib USAMember Posts: 0

    ______ | http://forcoder.org | free video tutorials and ebooks about || Python Java Visual Basic .NET PL/SQL PHP Go Perl Objective-C C Scratch MATLAB JavaScript R Swift Ruby Assembly Delphi Visual Basic C# C++ Prolog Kotlin Transact-SQL Clojure Crystal F# Lisp Bash Fortran VBScript Scala Julia Ada Apex Scheme FoxPro Lua Erlang COBOL Dart D ABAP LabVIEW Hack Rust Awk Alice ML Logo SAS || ________

Sign In or Register to comment.