Solved

find if "R & I" is in a lablel1 caption

Posted on 2009-05-05
3
150 Views
Last Modified: 2012-05-06
I need to check if "R & I" is in a label1. examples below

R & I left Fender
R & I Hood
R & I Right Headlight.

the label1 will have dynamic data but I only need to check if
R & I" is at the first "LEFT" of the label.
0
Comment
Question by:Grant Fullen
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
ThievingSix earned 125 total points
Comment Utility

If Copy(Label1.Caption,1,5) = 'R & I' Then

begin

  //Do Stuff

end;

Open in new window

0
 

Author Comment

by:Grant Fullen
Comment Utility
Thanks :)
0
 

Author Closing Comment

by:Grant Fullen
Comment Utility
Thanks for your help.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now