Skip to content

TStringsReduceMethod

Reduce algorithm for TStrings.Reduce.

Declaration

Source position: classesh.inc line 1003

type
  TStringsReduceMethod = function(const s1: string; const s2: string)
                                 : string of object;

Description

TStringsReduceMethod is the prototype for the callback in TStrings.Reduce. The method must return the reduced value for values S1 and S2. On every iteration S1 will contain the result of the previous iteration.

See also

Name Description
TStrings.Reduce Get a reduced value from the string list.