GString
Noun · Development
Definitions
A Groovy string literal that supports embedded expressions using ${} syntax, evaluated lazily at runtime. Unlike Java's regular strings, GStrings can contain dynamic content that is interpolated when the string is used.
In plain English: A special kind of text in Groovy that can include live code inside it — whatever you put in ${} gets evaluated and inserted into the text automatically.
Example: "In Groovy, "Hello ${name}" is a GString, not a java.lang.String — and yes, the name is unfortunate."