Board index » delphi » hello Dennis, about adding 3 functions to FastCode
Bear
![]() Delphi Developer |
Hi Dennis, about adding 3 functions to FastCode2006-05-15 09:49:07 AM delphi210 Hi Dennis, Could you please add 3 functions to FastCode Challenge? function PosBack(const SubStr, S: string): Integer; function PosBackEx(const SubStr, S: string; Offset: Integer = 1): Integer; function PosBackIEx(const SubStr, S: string; Offset: Integer = 1): Integer; They search SubStr in S from right to left. Sometimes we know SubStr is at the end of the S, so it is faster to search from right to left. Offset and return postion is the postion from left to right. P.S. FastCode Project Homepage: fastcode.sourceforge.net/ Also please vote for fastcode in QC: qc.borland.com/wc/qcmain.aspx Thank you! Bear |