MsgCommunicator: Delphi Instant Messaging (IM) SDK
for easy creation of custom messenger system
TMsgTextComparison is the record with conditions for string comparison.
Unit
MsgTypes
type
TMsgStringComparison = (mscmpExact,mscmpStarts,mscmpContains);
TMsgTextComparison = packed record
Comparison: TMsgStringComparison;
CaseInsensitive: Boolean;
end;
Description
TMsgTextComparison is the record with conditions for string comparison.
CaseInsensitive determines if string comparison should ignore case (True) or not.
Comparison is a type of the string comparison (search string - string1, condition - string2):
mscmpExact - exact string comparison, string1 = string2.
mscmpStarts - string1 should be started from string2.
mscmpContains - string1 should contain string2.
|