def result = google
* print 'the domain name is:', result
* def url1 = 'https://'+result+'.com'
* print url1
output
the domain is google
HTTPS:\\"google".com
I am trying to add a dynamic variable in my string, but it added a " before the dynamic string, how can I ignore this?
Thanks for help