<?xml version="1.0" encoding="windows-1252"?>
<node id="991345" title="Re: how to to find the &quot;/&quot; in a string" created="2012-09-02 23:28:59" updated="2012-09-02 23:28:59">
<type id="11">
note</type>
<author id="974476">
cheekuperl</author>
<data>
<field name="doctext">
&lt;i&gt;how to to find the "/" in a string&lt;/i&gt;
&lt;code&gt;
perl -e '$str=q (usr/bin); print index($str,q(/))."\n";'
&lt;/code&gt;
The output is 
&lt;code&gt;
3
&lt;/code&gt;</field>
<field name="root_node">
991062</field>
<field name="parent_node">
991062</field>
</data>
</node>
