关键:Find要事先Sort排序,Indexof不用排序. TStringList内部查找相关的数据.待调试代码时才知道痛苦,浪费无数时间后,只得一步步跟踪,才发 现Find方法返回的Index总是错误的,当时一阵郁闷,随手按下F1键,Find的Help文档展现眼前,对于该 函数是这样描述的:Locates the index for a string in a sorted list and indicates whether a string with that value already
来自:http://www.cnblogs.com/del/archive/2013/06/14/3135002.html ------------------------------------------------------------------------------- 大小写转换: function ToLower: string; function ToLower(LocaleID: TLocaleID): string; function ToLowerInvariant: s
https://wiki.freepascal.org/TStringList-TStrings_Tutorial TStringList-TStrings Tutorial │ Deutsch (de) │ English (en) │ español (es) │ suomi (fi) │ français (fr) │ русский (ru) │ Contents 1 TStringList 1.1 Simple example 1.2 Expanded Example 1.3 Conv