Skip to main content

Hello,

I’m trying to combine to strings in the expression builder to one string. I’m unable to get this to work with liquid filters.

I’m probably missing something. Does anyone have a good idea as how to do this? Essentially i want E3=E1+E2.

Hey Lucas, 

 

This should be pretty straight forward. If you build out another expression you can just place {{ E1.result }}{{ E2.result }} together. Is this not working?


Hey Lucas, 

 

This should be pretty straight forward. If you build out another expression you can just place {{ E1.result }}{{ E2.result }} together. Is this not working?

 

Hello Vishal,

 

This was my thought aswell. I tried this but got an error:

 “Invalid Syntax - Invalid return type for expression”

:(

Best regards,
Lucas


Ahh got it.. For string outputs you can use quotes to enclose it.

 

'{{ E1.result }}{{ E2.result }}' that helps distinguish regular strings from numbers and boolean outputs. 


Ahh got it.. For string outputs you can use quotes to enclose it.

 

'{{ E1.result }}{{ E2.result }}' that helps distinguish regular strings from numbers and boolean outputs. 

Thanks for the suggestion Vishal,

Unfortunately it still returns the error :(

However, when I test the expression it gives me the wished result.. Strange!

 


The issue was resolved by using double quotes! ''{{E1.result}},{{E2.result}}''


Reply