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

22392Re: [Clip] Re: Trying to Learn how to make a clip

Expand Messages
  • Don
    Jan 5, 2012
    • 0 Attachment
      just add a replace at the end and replace all ; with ^P if you want

      Or use this:
      ;put a carraige return between each found item
      ^!SetListDelimiter ^P
      ;find all lines that start with Latitute =
      ;assign those lines to a variable
      ^!Set %Variable_One%="^$GetDocMatchAll("(Latitude = .*)";1)$"
      ;select all so it will be replaced - careful not to save over orig
      ^!Select All
      ;paste the variable
      ^%Variable_One%
      ;replace latitude with nothing
      ^!Replace "Latitude = " >> "" ACIWS
      ;replace the longitute with a pipe (|) or whatever you want
      ^!Replace " Longitude = " >> "|" ACIWS


      you didn't really show what you wanted on the back end so I just used
      default for list delimiter and that is a semi-colon



      On 1/5/2012 10:15 PM, bozlawless wrote:
      > This works but it puts everything on one long line can you kinda break this down so i can get a idea whats going on? I think I need a carriage return @ the ";1 but not sure how
      >
      >
      >
      >
      >
      > --- In ntb-clips@yahoogroups.com, Don <don@...> wrote:
      >>
      >> ^!Set %Variable_One%="^$GetDocMatchAll("(Latitude = .*)";1)$"
      >> ^!Select All
      >> ^%Variable_One%
      >> ^!Replace "Latitude = " >> "" ACIWS
      >> ^!Replace " Longitude = " >> "|" ACIWS
      >>
      >>
      >> On 1/5/2012 8:36 PM, bozlawless wrote:
      >>> IH 35 - Northbound, approximately 2 miles south of Salado, midway between Austin and Waco
      >>> Latitude = 30.9001 Longitude = -97.5623
      >>> Milepost: 281
      >>> Location
      >>>
      >>> US 385 - North Bound, North of Andrews
      >>> Latitude = 32.5191 Longitude = -102.6121
      >>>
      >>> IH 35 - Northbound, approximately 2 miles south of Salado, midway between Austin and Waco
      >>> Latitude = 30.9001 Longitude = -97.5623
      >>> Milepost: 281
      >>>
      >>> IH 35 - Southbound, approximately 2 miles south of Salado, midway between Austin and Waco
      >>> Latitude = 30.9137 Longitude = -97.5508
      >>> Milepost: 282
      >>>
      >>> US 281, approximately 9 miles south of Falfurrias, southwest of Corpus Christi.
      >>> Latitude = 27.0942 Longitude = -98.1464
      >>> Features
      >>>
      >>> 2 sets of Men's and Women's Restrooms
      >>>
      >>
      >
      >
      >
      >
      > ------------------------------------
      >
      > Fookes Software: http://www.fookes.com/
      > NoteTab website: http://www.notetab.com/
      > NoteTab Discussion Lists: http://www.notetab.com/groups.php
      >
      > ***
      > Yahoo! Groups Links
      >
      >
      >
      >
    • Show all 11 messages in this topic