| 基础函数 | | | --- | --- | | 函数定义 | 功能 | | procedure Debug(const Msg: String); | 输出调试信息 | | function ReplaceStr(const Text, AFrom, ATo: String): String; | 字符串替换 | | function ReplaceStr(const Text, AFrom: String; ATo: Integer): String; | | | function ReplaceStr(const Text, AFrom: String; ATo: Double): String; | | | function ReplaceStr(const Text, AFrom: String; ATo: TDateTime): String; | | | function ExtractStrings(Separators, WhiteSpace: TSysCharSet; Content: String; Strings: TStrings): Integer; | 字符串分解到TStrings里,可百度具体用法 | | function EncodeString(const Source, Key: String): AnsiString; | 加密字符串 | | function DecodeString(const Source: AnsiString; const Key: String): String; | 解密字符串 | **可引用单元:** Classes, SysUtils Math:数学计算 DateUtils:日期处理 FastIniFile:高速的Ini文件读写