I am new to the skill.
I want to know how to remove all space characters from a given string in Smarty?
I have a line like "this is my line". The result should be "itismystring".
How can i do this?
From the documentation :
{$YourVariable|replace:' ':''}
anything between the strip, all spaces will be removed.
{strip}{/strip}
You can remove the space from a variable (string) using a modifierstrip
strip
{$myVar|strip}