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

0 Members and 1 Guest are viewing this topic.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
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:
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

VovKa

  • Water Moccasin
  • Posts: 1626
  • 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: 17750
  • Have thousands of dwgs to process? Contact me.
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-)
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst