Groovy web console

subscribe to the feed Subscribe
to this
site

Trim Examples

Published 1 month ago by Kahler
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
print "some     string\n\n\n\n\n\n\n\nsome string".trim()
print "\n----\n"
print "         some string".trim()