Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TStringsReduceMethod

Reduce algorithm for TStrings.Reduce.

Declaration

Source position: classesh.inc line 610

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

TStrings.Reduce

  

Get a reduced value from the string list.


Documentation generated on: Jul 24 2023