TStringsHelper.GetValueOrDefault<T>(string,T) Method
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 defaultparam.
public function GetValueOrDefault<T>(const name: string; const default: T): T; experimental;
Type Parameters
- T
Parameters
- name
- Type: string
- default
- Type: T
Return Value
Type: T