Re: Euphoria sucks at golfing
- Posted by petelomax May 09, 2014
- 1506 views
This works in Phix (105 characters)
object t=lower(gets(0)),L="llama",i=0for j=1to 5do i=find(L[j],t,i+1)L[j]=i end for?L[1..-not find(0,L)]
Notes: lower() is an autoinclude, I overwrite L with the result as we go, and finally use negative indexes.
Pete