Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

VB.Net - String parsing

Avatar of holemania
holemania asked on
.NET ProgrammingVisual Basic.NET
8 Comments1 Solution483 ViewsLast Modified:
Hello experts,

I created a small windows application in Visual Studio 2005 using VB.Net.  I would like to do some validation from a description textbox against a string(Field) i pull from a database.  I'm able to pull field from the database, but my issue is parsing it and comparing it with what's in the textbox that is also parsed.

Example data from database:

FT " RoundBar

Example data from Textbox.

10FT 4" RoundBar

Parse and compare textbox partial match text against database field. If no match in the order as it come from the database, then prompt error on which column it doesn't have a match.

Textbox     =   DatabaseField
10FT       =   FT
4"            =  "
Roundbar = Roundbar

I guess the above would be a "Like" comparsion.  In that 10FT from textbox "FT" matches "FT" from the database field.  Not sure if this make sense, but I'm looking at validating that the text in the text box follow the format from the database field.  Desn't matter what numbers/letters is before the Text that needs to match.
Avatar of Shaun Kline
Shaun KlineFlag of United States of America imageLead Software Engineer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 8 Comments.
See Answers