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

[Clip] Re: Serach and replace

Expand Messages
  • Kay Roath
    3/31/1999 7:59 AM Erno Mijland wrote ... You re using the old format for ^!Replace. You ll find that ^!Replace ^p#### ^p AWS causes fewer problems. In
    Message 1 of 6 , Mar 31, 1999
    • 0 Attachment
      3/31/1999 7:59 AM Erno Mijland wrote
      > At 06:30 31-03-99 -0600, you wrote:
      > It does. Thanks a lot. A very useful one.
      >>^!InsertText ^$StrReplace("^%nl%";"^%nl%<br>";"^$GetClipboard$";False;False)$

      > I added a small clip to remove the four spaces before all lines that follow
      > this one.
      > ^!Replace ^p#### ^p AWS (# stands for space)

      You're using the old format for ^!Replace. You'll find that
      ^!Replace "^p####" > "^p" AWS
      causes fewer problems. In this instance, instead of using
      another line, you could just use this
      ^!InsertText ^$StrReplace("^%nl% ";
      instead of this
      ^!InsertText ^$StrReplace("^%nl%";
      as the FIRST PART of the line I sent before.

      There are a bunch of great string functions - check out
      Clip Language - Text Processing in the Help file.
      StrReplace & StrPos are in just about everything I do :).

      --- Grandma Kay ---
      Introduction to NoteTab Clip Programming
      http://notetab.kay.net



      ------------------------------------------------------------------------
      eGroup home: http://www.eGroups.com/list/ntb-clips
      Free Web-based e-mail groups by eGroups.com
    Your message has been successfully submitted and would be delivered to recipients shortly.