FreeRADIUS InkBridge

%str.concat(<ref:[idx]>, <delim>)

Used to join two or more attributes, separated by an optional delimiter.

This expansion is the inverse of split.

Return: string

In most cases, %str.concat(…​) is only useful inside of a dynamically expanded string. If you need to concatenate strings together in a policy, just use +.

Example
control.Tmp-String-0 := { "aaa", "bb", "c" }

reply += {
    Reply-Message = %str.concat(%{control.Tmp-String-0[*]}, ', ')
    Reply-Message = %str.concat(%{control.Tmp-String-0[*]}, ',')
}
Output
aaa, bb, c
aaa,bb,c