usesStrUtils;【字符串函数大全】首部functionAnsiResemblesText(constAText,AOther:string):Boolean;$[(AmericanNationalStandardsInstitute)美国国家标准协会;;:=AnsiResemblesText(,);━━━━━━━━━━━━━━━━━━━━━首部functionAnsiContainsText(constAText,ASubText:string):Boolean;$[;:=AnsiContainsText(,);━━━━━━━━━━━━━━━━━━━━━首部functionAnsiStartsText(constASubText,AText:string):Boolean;$[:=AnsiStartsText(,);━━━━━━━━━━━━━━━━━━━━━首部functionAnsiEndsText(constASubText,AText:string):Boolean;$[:=AnsiEndsText(,);━━━━━━━━━━━━━━━━━━━━━首部functionAnsiReplaceText(constAText,AFromText,AToText:string):string;$[;:=AnsiReplaceText(,,);━━━━━━━━━━━━━━━━━━━━━首部functionAnsiMatchText(constAText:string;constAValues:arrayofstring):Boolean;$[:=AnsiMatchText(,['a1','a2','a3','a4']);━━━━━━━━━━━━━━━━━━━━━首部functionAnsiIndexText(constAText:string;constAValues:arrayofstring):Integer;$[;如果不包含则返回-:=AnsiIndexText(,['a1','a2','a3','a4']);━━━━━━━━━━━━━━━━━━━━━首部functionAnsiContainsStr(constAText,ASubText:string):Boolean;$[:=AnsiContainsStr(,);━━━━━━━━━━━━━━━━━━━━━首部functionAnsiStartsStr(constASubText,AText:string):Boolean;$[
Delphi字符串函数 来自淘豆网m.daumloan.com转载请标明出处.