Strings

"Eduardo Meyer" <[email protected]>
Newsgroups gmane.comp.lang.delphi.programming
Message-ID <003a01c344ad$f6a252d0$1b0d0a0a@rospinf14>
People,

    I would like to know how can compare two strings in order to find out if the string 1 contains the string 2.

Example:

String 1: "sweetheart"
String 2: "heart"

In this case the fucntion would return TRUE.

Could you guys help me?

Thanks so much!


Eduardo Meyer
São Paulo - Brazil

[Non-text portions of this message have been removed]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/i7folB/TM
---------------------------------------------------------------------~->

Delphi Tips & Tutorials...
http://www.delphicollection.com
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
--------------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.