ouryperd Posted on Mar 28, 2022 • Edited on Mar 28, 2022 Easiest way to truncate a string in Groovy #groovy The fastest way to truncate a string to a certain length: assert "abcdefghij".take(5) == "abcde" Top comments (0) Subscribe Submit Preview Dismiss Code of Conduct • Report abuse
Top comments (0)