TemplateString Class
· Dec 4, 01:05 PMI’ve uploaded a TemplateString class to the code section.
TemplateString, an idea borrowed from Python, allows you to create strings containing embedded keys for which you can substitute values. Here is a trivial example.
static t as new TemplateString("Hello $name$")
Msgbox t.Replace("Ed")
The project constitutes the project for a column to appear in REALbasic Developer. It turns out that implementing such a class requires a little more than Replace.
Commenting is closed for this article.
Back To Basics: A podcast about REALbasic AnimationKit From The ZAZ Studios