whole(string) is in a fld
    Ken Ray 
    kray at sonsothunder.com
       
    Tue Jun 12 15:19:05 CDT 2007
    
    
  
On Tue, 12 Jun 2007 14:26:12 EDT, FlexibleLearning at aol.com wrote:
> I've returned to this little conundrum many times over the years but have  
> yet to solve it.
>  
> Any offers?
How about:
put wholeWordMatch("This is a test",long id of fld 1)
function wholeWordMatch pFindText,pFldRef
	find whole pFindText in pFldRef
	put the result into tResult
	find empty
	return (tResult <> "not found")
end wholeWordMatch
:-)
Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
    
    
More information about the metacard
mailing list