Use String.concat instead of ^.

Thanks to Drup for catching this.
Support new string syntax {id|string|id}.
Fix $$ escape.