Re: Strings
"Eduardo Meyer" <[email protected]>
| Newsgroups | gmane.comp.lang.delphi.programming |
|---|---|
| Message-ID | <003b01c344bc$ea578310$1b0d0a0a@rospinf14> |
Marie, Raymond and Cardenas Thank you People!!! Eduardo ----- Original Message ----- From: Marie F Vihonsky To: [email protected] Sent: Monday, July 07, 2003 2:38 PM Subject: Re: [Delphi] Strings Use the POS function. If the pos(string2,string1) > 0 then begin end; Marie Eduardo Meyer wrote: > 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] > > > > 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/ > > > Yahoo! Groups Sponsor ADVERTISEMENT Delphi Tips & Tutorials... http://www.delphicollection.com --------------------------------------------------------------- Unsubscribe:[email protected] List owner:[email protected] --------------------------------------------------------------- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor ---------------------~--> Save on Coral Calcium. Get Better Health and Stronger Bones. Seen on TV http://www.challengerone.com/t/l.asp?cid-2805&lp=calcium2.asp http://us.click.yahoo.com/9gf46B/EfUGAA/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/