One-to-many substitution

How? It doesn’t work with my code: Strange feature behavier in Adobe apps