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

20894Re: Counting delimiters

Expand Messages
  • diodeom
    Jul 28, 2010
    • 0 Attachment
      Here's a take on it (broken into multiple lines for clarity):

      ^!SetWordWrap 0
      ^!Select BoL
      ^!Set %Col%=^$GetDocListAll("\t";"1")$
      ^!Set %Col%=^$StrSize(^%Col%)$
      ^!Set %Col%=^$Calc(^%Col%+1)$
      ^!Find "^$GetField(-1;^%Col)$" HST
      ^!Info Data field: ^$GetRow$:^%Col


      --- In ntb-clips@yahoogroups.com, "isola_60185" <isola_60185@...> wrote:
      >
      > Thanks much, that did the trick.
      >
      > --- In ntb-clips@yahoogroups.com, Don <don@> wrote:
      > >
      > > I do just that. Select to beginning of line, count delimiters with a
      > > find or string count or something, I'll have to look, leave cursor where
      > > it was by jumping to select end.
      > >
      > > And place cursor at beginning and jump to x delimiter on that line, etc.
      > >
      > >
      > > On 7/28/2010 11:56 AM, Axel Berger wrote:
      > > > Axel Berger wrote:
      > > >> what more and better can you ask for?
      > > >
      > > > That said and rethinking about it: You can easily make a ^!Find getting
      > > > and highlighting exactly the n-th element in a delimited line and stick
      > > > that into a clip. Would that help?
      > > >
      > > > Axel
      > > >
      > > >
      > > > ------------------------------------
      > > >
      > > > 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 15 messages in this topic