Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-05-05
3
Medium Priority
?
161 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 500 total points
ID: 24310868

If Copy(Label1.Caption,1,5) = 'R & I' Then
begin
  //Do Stuff
end;

Open in new window

0
 

Author Comment

by:Grant Fullen
ID: 24311065
Thanks :)
0
 

Author Closing Comment

by:Grant Fullen
ID: 31578308
Thanks for your help.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

971 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