Home »
Code Examples »
Groovy Code Examples
Groovy Triple-single-quoted string Code Example
The code for Groovy Triple-single-quoted string
'''a triple-single-quoted string'''
'''Hello, world!'''
'''Welcome at Code Examples Section, IncludeHelp'''
Code by Shivang Yadav,
on July 24, 2022
def startingAndEndingWithANewline = '''
line one
line two
line three
'''