Add tags

Add tags to the following comment

メソッド定義を書いて、それを呼び出す形で書くもの?なら…

trをインライン化すればワンライナー。

1
2
3
tr={f,t,w->w.collect{f.contains(it)?t[f.indexOf(it)]:it}.join()}

println(tr("qwertyuiop","QWERTYUIOP","typewriter"))

Add tags

The input will be splited to tags with space.

Index

Feed

Other

Link

Pathtraq

loading...