Silly and likely non-important question about StringTemplates.
Remi Forax
forax at univ-mlv.fr
Mon Oct 23 05:06:51 UTC 2023
> From: "David Alayachew" <davidalayachew at gmail.com>
> To: "amber-dev" <amber-dev at openjdk.org>
> Sent: Monday, October 23, 2023 6:35:00 AM
> Subject: Silly and likely non-important question about StringTemplates.
> Hello Amber Dev Team,
> I've been playing with StringTemplates a bit more, and I had a quick question.
> I repeatedly find myself in the same situation -- I have a String that is
> already in a variable, and I want it to be the full String in the
> StringTemplate. What is the recommended way to do it?
> For example.
> String abc = "xyz";
> MY_PROCESSOR. <--- what goes here?
MY_PROCESSOR."\{abc}"
> Thank you for your time!
> David Alayachew
regards,
Rémi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20231023/b530ef34/attachment.htm>
More information about the amber-dev
mailing list