<?xml version="1.0" encoding="windows-1252"?>
<node id="358347" title="ChuckularOne's scratchpad" created="2004-06-01 14:19:51" updated="2005-08-13 23:01:28">
<type id="182711">
scratchpad</type>
<author id="5304">
ChuckularOne</author>
<data>
<field name="doctext">
What I'm trying to do is find $rFile in $_ and add it to an array.&lt;br/&gt;
&lt;br/&gt;
This matches only the whole string.
&lt;br/&gt;&lt;br/&gt;
&lt;code&gt;
   if ( length($rfile) &gt; 0 ) {
     foreach $item (@clean){
       $continue = index($item, $rfile);
       if ( $continue == 0 ) {
         $output[++$#output] = $item;
         }
       }  &lt;/code&gt;</field>
</data>
</node>
