Jump to content

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,492

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.