Parameterized string expansion, first cut