<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>

<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Trebuchet MS" size=2>Patty,</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Trebuchet MS" size=2>O primeiro split que você usou 
deve&nbsp;ser atribuído&nbsp;à&nbsp;um array.</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Trebuchet MS" size=2>Assim, cada índice do array vai ter o 
respectivo conteúdo de "inicio e fim"</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Trebuchet MS" size=2>[]s</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2>Fernando</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=ptfzs@yahoo.com.br href="mailto:ptfzs@yahoo.com.br">Patty Silva</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=cascavel-pm@pm.org 
  href="mailto:cascavel-pm@pm.org">Cascavel Perl Mongers</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, January 21, 2008 12:53 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Cascavel-pm] expressao 
  regular</DIV>
  <DIV><BR></DIV>
  <DIV 
  style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
  <DIV>pessoal..<BR>alguem da um help para extrair partes de uma 
  string??<BR><BR>tenho um string="inicio hghghghg fim inicio hghghgghghgfim 
  inicio hghghgh fim"<BR>quero recuperar os elementos entre o inicio e o 
  fim..<BR>se eu fizer:<BR><BR>(my $data) = split(/fim/, $te);<BR>&nbsp;my 
  (@registros) = split (/inicio/, $data);<BR><BR>ele pega somente o 1 registro 
  :)<BR><BR>Alguem pode dar um 
  help<BR><BR>Obrigada<BR><BR><BR><BR><BR></DIV></DIV><BR>
  <HR SIZE=1>
  Abra sua conta no <A 
  href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.mail.yahoo.com/">Yahoo! 
  Mail</A>, o único sem limite de espaço para armazenamento! 
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Cascavel-pm mailing 
  list<BR>Cascavel-pm@pm.org<BR>http://mail.pm.org/mailman/listinfo/cascavel-pm</BLOCKQUOTE></BODY></HTML>