You can append any character or even another variable to the end of a variable.
CAT: CONCATENATING VALUES TO VARIABLES
You can concatenate not only strings but also other variables to a variable.
You can use `cat` even within an `assign` statement to perform concatenation.
javascript
{$titleName|cat:'の巻'}
{$objectId|cat:$exchangeNum}
{assign var="itemNames" value=$prizeNames|cat:"{$object.name}"}
{assign var=comment value='プレイヤーレベル'|cat:{$presentLevelLimit}|cat:'以上から'}Recommended Smarty Books
Although Smarty only had older books, and only Kindle editions were available, the following is recommended for beginners.
📦Search Amazon US for related books and tools
PHP template engine development
Search Amazon US → (affiliate link). As an Amazon Associate, we earn from qualifying purchases.
