Groovy - Strings with "$"
Is 开发者_运维知识库there any way to by pass "$" keyword at runtime
eg
println $anish
output will be
$anish
Either use single quoted strings:
println '$anish'
Or escape the dollar as Tom suggests
println "\$anish"
with a backslash println \$anish
精彩评论