trim function

  1. Stuart Wright

    XF 2.3 How to trim the value of a variable?

    Hi folks, I have this code <xf:if is="{$block.block_title} != 'Conclusion' && {$block.block_title} != 'Conclusion '"> and going by my coding background that the trim function removes leading and trailing spaces, I want to shorten it to <xf:if is="<xf:trim>{$block.block_title}</xf:trim> !=...
Back
Top Bottom