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

Re: [Clip] changing no.s

Expand Messages
  • Dave
    Hi Hugo that seems to work thanks.. THANKYOU DAVE in au ... From: Hugo Paulissen To: Sent: Thursday,
    Message 1 of 6 , Feb 3 4:43 AM
    • 0 Attachment
      Hi Hugo
      that seems to work thanks..

      THANKYOU DAVE in au
      ----- Original Message -----
      From: "Hugo Paulissen" <hugopaulissen@...>
      To: <ntb-clips@yahoogroups.com>
      Sent: Thursday, February 03, 2005 10:10 AM
      Subject: Re: [Clip] changing no.s


      >
      >
      > --- In ntb-clips@yahoogroups.com, Jody <kjv-av1611@e...> wrote:
      >> Hi Dave,
      >>
      >> I don't know what you mean by "a one based format." What is the
      > output you
      >> want exactly?
      >
      > Dave, Jody,
      >
      > I assume what you want is that each list of numbers starts with a 1
      > instead of a 0 (i.o.w.: add one to each number).
      >
      > If that is the case this approach could help you: it uses a regular
      > expression to find a number, directly followed by a =-sign.
      > Afterwards the = is disregarded to do the addition - it finally is
      > placed back into it's position.
      >
      >
      > ^!JUMP 1
      > :ADDONE
      > ^!Find [0-9]+= RS
      > ^!IFERROR END
      > ^$Calc(^$strReplace("=";"";^$GetSelection$;0;0)$+1)$=
      > ^!GoTO ADDONE
      >
      > HTH,
      >
      > Hugo
      >
      >
      >
      >
      >
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.