Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

catenate strings

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
Killersushi
Smarty n00b


Joined: 19 Aug 2003
Posts: 2

PostPosted: Tue Aug 19, 2003 8:42 am    Post subject: catenate strings Reply with quote

hello

is there a way to catenate string with in a smarty variable?
like this {$smartyvar .=$assignedvar }

tanx
killersushi
Back to top
View user's profile Send private message
boots
Administrator


Joined: 16 Apr 2003
Posts: 5611
Location: Toronto, Canada

PostPosted: Tue Aug 19, 2003 9:39 am    Post subject: Reply with quote

yes, the cat modifier fits the bill.

{$smartyvar|cat:$assignedvar}

http://smarty.php.net/manual/en/language.modifier.cat.php

HTH
Back to top
View user's profile Send private message
Killersushi
Smarty n00b


Joined: 19 Aug 2003
Posts: 2

PostPosted: Tue Aug 19, 2003 10:10 am    Post subject: Reply with quote

thank you exactly waht i was looking for
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP