TPLix

No results for ""

Cat

2 min read Jun 2, 2026
--- title: cat autoseo: enabled: true theme: learn2 child_type: default admin: children_display_order: collection visible: true ---

cat — Concatenates any number of variables or strings fed into it.

Two or more strings that will be merged into one.
Examples:

    if $name equal to "Hello"
    {$name|cat:' World!'}
	

The above example will output:

Hello World

    if $name equal to "Psychics predict world didn't end"
    {$name|cat:' yesterday':' but any other day'}
	

The above example will output:

Psychics predict world didn't end yesterday but any other day
{"When will you come— "|cat:' tomorrow':' or':' some':' other day?'}

The above example will output:

When will you come—tomorrow or some other day?

Leave a Comment

Not published. Used to notify you on approval.

Comments are moderated before appearing.