FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Where I find the variable "{to VAR: r[0 ]}" ?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Where I find the variable "{to VAR: r[0 ]}" ? [message #27784 is a reply to message #27782] Mon, 26 September 2005 14:14 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
If you are using 2.7.2 you can do:

{IF: strlen($r[0])>20}{FUNC: substr($r[0],0,25)}...{ELSE}{VAR: r[0]}{ENDI}


FUDforum Core Developer
[Message index]
 
Read Message
Read Message
Previous Topic: CMS integration
Next Topic: What does msg_1 do?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 14:37:56 GMT 2024

Total time taken to generate the page: 0.04683 seconds