[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'LazStringUtils' (#lazutils)

MergeWithDelimiter

Combines two string values using the specified delimiter character.

Declaration

Source position: lazstringutils.pas line 88

function MergeWithDelimiter(

  const a: string;

  const b: string;

  Delimiter: Char

):string;

Arguments

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 ('').


Version 4.0 Generated 2025-05-03 Home