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

Re: [PBML] Position of occurence

Expand Messages
  • Mystik Gotan
    Yes, for me, it was kinda hard to understand what you meant. But good it worked out nicely :-) ... Bob Erinkveld (Webmaster Insane Hosts) www.insane-hosts.net
    Message 1 of 7 , Dec 20, 2002
      Yes, for me, it was kinda hard to understand what you meant. But good it
      worked out nicely :-)

      --------------
      Bob Erinkveld (Webmaster Insane Hosts)
      www.insane-hosts.net
      MSN: gotan2k3@...




      >From: Konstantinos Liolios <dinos007@...>
      >Reply-To: perl-beginner@yahoogroups.com
      >To: perl-beginner@yahoogroups.com
      >Subject: Re: [PBML] Position of occurence
      >Date: Fri, 20 Dec 2002 10:27:19 -0800 (PST)
      >
      >rindex is same as index but returns the last instead
      >of the 1st position of occurence. It also cannot use
      >a regular expression but only a string. Hmmm
      >apparently this is not as easy as I thought it would
      >be. Thanx for the ideas though.
      >
      >Dinos
      >
      >--- Mystik Gotan <gotan2k3@...> wrote:
      > > Ah, right. rindex() ?
      > >
      > > --------------
      > > Bob Erinkveld (Webmaster Insane Hosts)
      > > www.insane-hosts.net
      > > MSN: gotan2k3@...
      > >
      > >
      > >
      > >
      > > >From: Konstantinos Liolios <dinos007@...>
      > > >Reply-To: perl-beginner@yahoogroups.com
      > > >To: perl-beginner@yahoogroups.com
      > > >Subject: Re: [PBML] Position of occurence
      > > >Date: Fri, 20 Dec 2002 09:03:04 -0800 (PST)
      > > >
      > > >grep returns the whole string. I want the position
      > > in
      > > >the string where the pattern starts to appear.
      > > >
      > > >Dino
      > > >
      > > >--- Mystik Gotan <gotan2k3@...> wrote:
      > > > > perldoc -f grep
      > > > >
      > > > > --------------
      > > > > Bob Erinkveld (Webmaster Insane Hosts)
      > > > > www.insane-hosts.net
      > > > > MSN: gotan2k3@...
      > > > >
      > > > >
      > > > >
      > > > >
      > > > > >From: Konstantinos Liolios <dinos007@...>
      > > > > >Reply-To: perl-beginner@yahoogroups.com
      > > > > >To: perl-beginner@yahoogroups.com
      > > > > >Subject: [PBML] Position of occurence
      > > > > >Date: Fri, 20 Dec 2002 07:02:29 -0800 (PST)
      > > > > >
      > > > > >is given by index(substr, string). Now if I
      > > want
      > > > > >substr to actually be a regular expression how
      > > do I
      > > > > >find its position(s) of occurence?
      > > > > >
      > > > > >Dinos
      > > > > >
      > > > > >=====
      > > > > >Konstantinos Liolios
      > > > > >http://www.dinos007.com
      > > > > >
      > > > >
      > > >__________________________________________________
      > > > > >Do you Yahoo!?
      > > > > >Yahoo! Mail Plus - Powerful. Affordable. Sign
      > > up
      > > > > now.
      > > > > >http://mailplus.yahoo.com
      > > > >
      > > > >
      > > > >
      > >
      > >_________________________________________________________________
      > > > > Chatten met je online vrienden via MSN
      > > Messenger.
      > > > > http://messenger.msn.nl/
      > > > >
      > > > >
      > > >
      > > >
      > > >=====
      > > >Konstantinos Liolios
      > > >http://www.dinos007.com
      > > >
      > > >__________________________________________________
      > > >Do you Yahoo!?
      > > >Yahoo! Mail Plus - Powerful. Affordable. Sign up
      > > now.
      > > >http://mailplus.yahoo.com
      > >
      > >
      > >
      >_________________________________________________________________
      > > MSN Zoeken, voor duidelijke zoekresultaten!
      > > http://search.msn.nl/worldwide.asp
      > >
      > >
      >
      >
      >=====
      >Konstantinos Liolios
      >http://www.dinos007.com
      >
      >__________________________________________________
      >Do you Yahoo!?
      >Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
      >http://mailplus.yahoo.com


      _________________________________________________________________
      Ontvang je Hotmail & Messenger berichten op je mobiele telefoon met Hotmail
      SMS http://www.msn.nl/jumppage/
    Your message has been successfully submitted and would be delivered to recipients shortly.