
22 Nov
2012
22 Nov
'12
3:05 p.m.
Do we have a style-function for this?
item( ${destination}, 1 ) -> Bonn item( ${destination}, 2 ) -> Rodenkirchen
No we don't and it will not be so easy to implement that because the functions do not have any parameters yet at the moment. So it's a big change. But the style system has a regular expression substitution: ${destination|subst:;=> } So everything behind subst: (in this case ";") is replaced with the string after the => (in this case " "). Maybe the ; must be escaped but generally it should work. WanMil