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

[Clip] Re: searching multi-word phrases

Expand Messages
  • Eric Richards
    Hi Claes, this seems to work. Now if I can only figure out how to integrate it into my clip:) Thanks. ... on$ ;fa
    Message 1 of 3 , Nov 30, 1999
      Hi Claes, this seems to work. Now if I can only figure out how to
      integrate it into my clip:)

      Thanks.

      > Would this do?
      >
      > Regards /Claes
      >
      >
      > ^!Set %string%=^?[Keywords, one blank between each]
      > ^!Set %string%=^$StrReplace(" ";";";"^%string%";True;False)$
      > ^!SetArray %keys%=^%string%
      > ^!Set %ix%=0
      > ^!ClearVariable %res%
      > :loop
      > ^!inc %ix%
      > ^!If ^%ix%>^%keys0% Done
      > ; Long line follows
      > ^!set
      > %res%=^%res%^%keys^%ix%%^%TAB%^$StrCount("^%keys^%ix%%";"^$GetSelecti
      on$";fa
      > lse;true)$^%NL%
      > ;Long line end
      > ^!goto loop
      > :done
      > ^!Info ^%res
    Your message has been successfully submitted and would be delivered to recipients shortly.