From: James Gray Date: 2007-12-12T23:39:11+09:00 Subject: Re: Word Loop (#149) On Dec 12, 2007, at 1:55 AM, Alex Shulgin wrote: > On Dec 12, 12:10 am, Alex Shulgin wrote: >> On Dec 7, 10:45 pm, Ruby Quiz wrote: >> >>> Here's a fun little challenge from the Educational Computing >>> Organization of >>> Ontario. > > Yeah, and I've finally found one which can form a loop with some empty > space in it. :-) > > Antidisestablishmentarianism: > > ..........nemh.. > ..........t..s.. > antidisestablism > ..........rian.. Eric's code makes some fun loops with that word: $ ruby word_loop.rb Antidisestablishmentarianism Number of overlaps: 5 ======================================== ant ianism r d abli tses nemh ======================================== sm antidish n lem a bse iratn ======================================== m s antidish n lem a bse iratn ======================================== ant ianis r dm abli tses nemh ======================================== an t ianis r dm abli tses nemh ======================================== an t ianism r d abli tses nemh ======================================== James Edward Gray II