As FENOM cut from the string word?

Please tell me how the syntax of the templating engine from the FENOM line cut word?
As for FENOM to use php function stripString or an analogue of it in FENOME?
April 4th 20 at 13:20
1 answer
April 4th 20 at 13:22
stripString is a custom function, what does it do?
On topic - if none of the official list of modifiers is not suitable, you can add to your write handler string in College for this documentation. If that's not trouble, it is possible for the controller to prepare data and pass them to the template in a separate array.
stripString Cuts from the string specified string that is not an analogue to find, there is a search and replace, try it, - Edythe_Klein29 commented on April 4th 20 at 13:25
Yes replace fit, just cut but does not replace, the second parameter is left empty and norms. Thank you. {$fruits | replace: "pear" : ""} - Edythe_Klein29 commented on April 4th 20 at 13:28

Find more questions by tags PHP