Вниз
Скачать: CL | DM;

Поиск в TMemo   Найти похожие ветки 

← →
Oyster ©   (2004-06-01 12:09) [0]

Есть ли в TMemo какой-нибудь метод для поиска. Или хотя бы есть вообще системная функция для проверки 2 строк на равенство без учета регистра?


← →
Serge ©   (2004-06-01 12:13) [1]

Compares two strings.

function CompareStrings(const S1, S2: string): Integer; virtual;

Description

TStrings uses CompareStrings internally to compare the values of strings that appear in the list. For example, the IndexOf and IndexOfName methods use CompareStrings to compare a specified string with the strings in the list.

S1 and S2 are the strings to compare.

CompareStrings returns a value less than 0 if S1 < S2, 0 if S1 = S2, and a value greater than 0 if S1 > S2.

As implemented in TStrings, CompareStrings uses the global AnsiCompareText function, which compares strings case insensitively. Some descendant classes override this method to change the way strings are compared (for example, to introduce case sensitivity).


← →
Семен Сорокин ©   (2004-06-01 12:23) [2]

pos(AnsiLowerCase(Edit1.Text), AnsiLowerCase(Memo1.Text))



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.018 c
1-1086058746
вано
2004-06-01 06:59
2004.06.13
аналог delay


6-1082666029
andrysha1
2004-04-23 00:33
2004.06.13
почему когда я использую IdUDPClient, IdUDPServer,IdTCPServer


3-1084882414
Dmitiy O.
2004-05-18 16:13
2004.06.13
Таблица IB после создания не редактируется ?


3-1085379751
DimonNew
2004-05-24 10:22
2004.06.13
ADO и кэширование данных


4-1084006630
SPeller
2004-05-08 12:57
2004.06.13
Формат ресурсов PE файлов




   Наверх