Loading ...
Sorry, an error occurred while loading the content.

23347Re: [Clip] Adding id="Date_here" to clip

Expand Messages
  • Axel Berger
    Nov 10, 2012
      Mike Breiding - Morgantown WV wrote:
      > > ^!Set %datum%=^?{Date:=^$GetSelection$}
      > > ^!Set %iddat%=^$StrReplace(" ";"_";"^%datum%";A)$
      > > ^!InsertHtml <p class="date" id="^%iddat%>%datum%</p>^P
      > I get a line two syntax error when I run the clip.

      I don't and the second of my three lines seems to be fine. There is a
      mistake though yielding the wrong result, a missing caret in line 3:

      ^!InsertHtml <p class="date" id="^%iddat%>^%datum%</p>^P

    • Show all 9 messages in this topic