Hello
I want to trim spaces inside variable.
Eg : %%TopicStatus%% = In Progress --> InProgress
I would do this to use as CSS class.
Can i do this ?
Thanks
Hello
I want to trim spaces inside variable.
Eg : %%TopicStatus%% = In Progress --> InProgress
I would do this to use as CSS class.
Can i do this ?
Thanks
I'm afraid that you aren't able to trim spaces from the TopicStatus element. You could use a condition to output a specific value if the Topic has a particular status value, and another value if not:
%%replaceinquotes:value=false%%%%TopicStatus:format="Is In Progress",blankformat="Not in Progress",condition="content:content=""%%TopicStatus%%"",operator=""="",value=""In Progress"""%%
The %%replaceinquotes:value=false%% is necessary to the condition to be used in the element. The Format and BlankFormat attributes are the values that are output if the topicstatus matches / doesn't match respectively.