Forum

VL.Dollar String interpolation

VLic string interpolation with dynamic input pins.

nuget install VL.Dollar -pre

By default template syntax is identical to Python’s "Hello {}".format("World") syntax. No need for indexes inside of braces.

Try it out and and let me know what you think of the API.

Name comes from the nodes’ name ($), that comes from $ - string interpolation - C# reference | Microsoft Docs

Note

I had to insert MonoFlop forcing updates of the dynamic input pins, otherwise they would get reverted on change. And still, sometimes the input string behaves weirdly. Honestly not sure where these issues are coming from, glad to see gamma is still full of these surprises ;)

2 Likes

Personally I’d prefer indices. The way it is now you’d have to create new pins if you want to insert a string multiple times in different locations, no?