Longest string challenge: Difference between revisions
→{{header|Wren}}: Now uses sub-string operator rather than SkipSequence.
(Added Wren) |
(→{{header|Wren}}: Now uses sub-string operator rather than SkipSequence.) |
||
Line 2,281:
var longer = Fn.new { |a, b|
while (!a.isEmpty && !b.isEmpty) {
a = a
b = b
}
return a.count
|