https://opensource.net.cn/how-groovy-working-strings-easy-9/
How Apache Groovy makes working with strings easy