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.skip([1).join().-1]
b = b.skip([1).join().-1]
}
return a.count
9,493

edits