I am new to smarty.
I want to know how to remove all white-space characters from a given string in Smarty?
I have a string like "this is my string". The output should be "thisismystring".
How can I do this?
From the documentation:
{$YourVariable|replace:' ':''}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With