OK, I was going thru a ROM dump last week, and text I was interested in was interlaced between the high and low ROMS. Naturally, I thought perl would be ideal to straighten this mess out. The resulting program I wrote felt too long. So, without further ado, your golf course today is to take 2 strings:
... and produce a single string from them:Ti sats. hsi et
Extra credit: Make the routine split the single string into substrings that're an arbitrary length, and spit them out on separate lines, ie: the big string is really a bunch of strings of "x" bytes.This is a test.
I promise this ain't homework, even tho it really looks like it by now. :o)
--
Me spell chucker work grate. Knead grandma chicken.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: (golf) Interlaced Strings
by japhy (Canon) on May 02, 2001 at 07:16 UTC | |
Re: (golf) Interlaced Strings
by jmcnamara (Monsignor) on May 02, 2001 at 13:42 UTC | |
by MeowChow (Vicar) on May 02, 2001 at 23:09 UTC | |
Re: (golf) Interlaced Strings
by MeowChow (Vicar) on May 02, 2001 at 10:46 UTC | |
Re: (golf) Interlaced Strings
by Chmrr (Vicar) on May 02, 2001 at 07:18 UTC | |
Re: (golf) Interlaced Strings
by premchai21 (Curate) on May 02, 2001 at 07:00 UTC | |
by Masem (Monsignor) on May 02, 2001 at 07:08 UTC | |
by premchai21 (Curate) on May 02, 2001 at 07:11 UTC | |
by koolade (Pilgrim) on May 02, 2001 at 19:54 UTC | |
Re: (golf) Interlaced Strings
by Masem (Monsignor) on May 02, 2001 at 07:05 UTC |
Back to
Meditations