MergeWithDelimiter function
Combines two string values using the specified delimiter character.
Declaration
function MergeWithDelimiter(const a: string; const b: string;
Delimiter: char): stringArguments
a | First value merged in the result. |
b | Second value merged after the delimiter. |
Delimiter | Delimiter used to separate values. |
Function result
Combined values using the specified delimiter.
Description
The value in Delimiter is omitted from the return value if either
A or B is an empty string ('').
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
