[tw5] Re: Trim [[ or trim ]] not working

2021-12-18 Thread Sheridan Price
I hope I did this reply correctly (I used reply all). So I tried it out and for the sake of anyone else who might read this in the future here goes. Trim works if written as trim:prefix Thanks to both Eric and Matt for their response. As Eric mentions as given in the original post the

[tw5] Re: Trim [[ or trim ]] not working

2021-12-17 Thread Eric Shulman
On Friday, December 17, 2021 at 7:54:00 AM UTC-8 sheri...@gmail.com wrote: > ``` > <$vars prefix="[[" suffix=" ]]"> > <$list filter="[[smpConfig]get[animals]trim:prefix[]]"/> > > ``` > If I don't have the trim part then the output is: [[Fox ]] [[Beaver ]]... > all good but once the trim is

[tw5] Re: Trim [[ or trim ]] not working

2021-12-17 Thread Mat
I didn't try out your code but it looks like a simple syntax error. Try: ... trim:prefix]"/> <:-) On Friday, December 17, 2021 at 4:54:00 PM UTC+1 sheri...@gmail.com wrote: > Hello > I am new to TW so I won't be surprised if the answer is obvious in > retrospect. > I have: > > <$vars