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

Re: [Clip] Re: removing spaces and periods in a document

Expand Messages
  • hsavage
    ... Bryan, Here s a short 1 working line clip to do what you seek. H= Remove spaces-periods ; load/focus file to work on. ; run this clip. ^!Replace
    Message 1 of 3 , Apr 27, 2006
      abairheart wrote:
      > --- In ntb-clips@yahoogroups.com, "Bryan Falk" <bryanfalk@...> wrote:
      >> I need to remove all spaces and periods in a document every day. I can
      >> do this in excel via a macro, and was hoping that the clip library
      >> would also be able to replace something with nothing, so to speak. Any
      >> ideas how to do this?
      >>
      >
      >> From the menu, search-->replace, enter your search target,
      > leave replace target blank
      >
      > In a clip, you can use a similar technique for the Replace command,
      > just use a double delimiter between the target string and the modifiers
      > at the end of the line.
      >
      > If you use StrReplace function, just use a double quote for the
      > replace string (nothing between the quotes.
      >
      >
      >
      > Abair

      Bryan,

      Here's a short 1 working line clip to do what you seek.

      H="Remove spaces-periods"
      ; load/focus file to work on.
      ; run this clip.
      ^!Replace "(\.)|(\s)" >> "" TIWHRSA

      ºvº
      06.04.27_18.23
      -Newspaper HeadLine...
      "Local High School Dropouts Cut in Half"
      hrs ø hsavage@...
    Your message has been successfully submitted and would be delivered to recipients shortly.