Groovy string length
The length
method of a string object in Grooy will return the number of characters in the string:
name = 'Foo Bar Moo'
len = name.length()
println(len) // 11
hebrew = 'שלום'
println(hebrew.length()) // 4
timestamp: 2019-02-15T22:30:01 tags:
- length