Concat – Template

From Bohemia Interactive Community
Jump to navigation Jump to search

Concatenates (joins) strings together.

This template is used on these pages.

Usage

{{Concat|separator|string#}}

  • separator: string element to place between strings
  • string#: other parameters are strings to be joined - max 10 elements
Examples
Code Result
{{Concat}} -no text provided-
{{Concat|}} -no text provided-
{{Concat||}} -no text provided-
{{Concat|-}} -no text provided-
{{Concat|-|A}} A
{{Concat||A|B|C}} ABC
{{Concat|-|A|B|C}} A-B-C