- 浏览: 15889 次
- 性别:
- 来自: 杭州
最新评论
文章列表
// normal strings
deffirstname= 'Kate'
defsurname= "Bush"
assertfirstname* 2== 'KateKate'
// GString
deffullname= "$firstname$surname"
assertfullname== 'Kate Bush'
assertfullname-firstname== ' Bush'
assertfullname.padLeft(10) ==
' Kate Bush'
// indexing (including ranges)
assertfu ...