Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,2 @@
|
|||
def top = { it.size() > 1 ? it[0..-2] : '' }
|
||||
def tail = { it.size() > 1 ? it[1..-1] : '' }
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
def testVal = 'upraisers'
|
||||
println """
|
||||
original: ${testVal}
|
||||
top: ${top(testVal)}
|
||||
tail: ${tail(testVal)}
|
||||
top&tail: ${tail(top(testVal))}
|
||||
"""
|
||||
Loading…
Add table
Add a link
Reference in a new issue