You could use the AnsiContainsStr for the first issue. I am not sure what function could be used for your second issue.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of M Tuttle Sent: Thursday, November 03, 2005 10:08 To: Delphi - Talk Subject: Need 2 equivilent FoxPro function for Delphi Greetings All, I need two functions that FoxPro DOS has in Delphi. They are: $ This function returns true (.T.) if a character expression is contained in another character expression. If the character expression isn't found, false (.F.) is returned. OCCURS() OCCURS() returns the number of times the value of a character expression is found in the value of another character expression. OCCURS() returns zero if the value of an expression isn't found in the value of another expression. Does anyone know of or have any code snippets they can share that will do this? Thanks to all that are kind enough to reply. Michael Tuttle Software Technologies, Inc. Topeka, KS __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk
