Author Topic: I'm not understanding what is going on here.  (Read 619 times)

0 Members and 1 Guest are viewing this topic.

MP

  • Seagull
  • Posts: 17400
Re: I'm not understanding what is going on here.
« Reply #30 on: September 11, 2019, 06:47:07 PM »
i think this simple vanilla solution:

(if (= pref (substr str 1 (setq l (strlen pref))))
  (substr str (1+ l))
  str
)

must have been posted first  :angel:

But where's the fun in that? :lol:
\|// Set goal. Experiment tirelessly until
|Oo| practice has become expertise.  Loop.
|- | LinkedIn | Dropbox

VovKa

  • Swamp Rat
  • Posts: 1144
  • Ukraine
Re: I'm not understanding what is going on here.
« Reply #31 on: September 12, 2019, 05:23:33 AM »
But where's the fun in that? :lol:
i'm steadily trying to spoil the fun since page 1  :crazy2:

MP

  • Seagull
  • Posts: 17400
Re: I'm not understanding what is going on here.
« Reply #32 on: September 12, 2019, 07:32:58 AM »
i'm steadily trying to spoil the fun since page 1  :crazy2:

More like a seasoned taster helping the brewery produce better ale. 8-)
\|// Set goal. Experiment tirelessly until
|Oo| practice has become expertise.  Loop.
|- | LinkedIn | Dropbox