groovy Strings and GString literals Multiline string (without extra trailing newline)


Example

def str = '''\
multiline 
string'''
assert str.readLines().size() == 2