Re: Euphoria sucks at golfing
- Posted by jimcbrown (admin) May 07, 2014
- 1634 views
Here's my attempt:
include std/text.e object t = lower(gets(0)), L = "llama", X = 0&" " for i = 1 to length(L) do X[i+1] = find(L[i],t,X[i]+1) if X[i+1] = 0 then X = {0} exit end if end for ? X[2..$]