TStringsHelper.GetValueOrDefault<T> Method
Definition
Gets the corresponding value of the name entry if there is such an
entry and the value is not empty, otherwise, returns the default
value specified by the default param.
Delphi
function GetValueOrDefault<T>(const name: string; const default: T): T
Type Parameters
- T
Parameters
- name
- string
- default
- T
Returns
T