Need to put a long string into your source code but don’t want to violate the 80 character line limit (yes, I prefer it)? You can do it by adding a new method to java.lang.String as the following listing shows.
Quick post: How to use Groovy multi-line GStrings for single-line messages
Posted on 10 Feb 2012That's me, Ben.
Hey, I am Ben Ripkens (bripkens)
and this is my blog.
I live in
Düsseldorf
(Germany)
and I am employed by the
codecentric AG as a Software Engineer.
Web application frontends are my main area of expertise, but you may also
find some other interesting articles on this blog.