<?xml version="1.0" encoding="windows-1252"?>
<node id="37089" title="How to find which comes first: ' &quot; ', '(', or ')'?" created="2000-10-17 03:40:20" updated="2005-08-15 10:20:28">
<type id="1857">
categorized question</type>
<author id="11732">
QandAEditors</author>
<data>
<field name="doctext">
I have a string, and I want to find which one of the following 3 characters come first (ie, is on the left-most side of a given string) ?
&lt;p&gt;
for example:
&lt;code&gt;
qwert(ui)"  should return (
qwerty"(ff) should return "
qwer)()("   should return )
&lt;/code&gt;
and so on.
&lt;p&gt;
THX</field>
<field name="parent_node">
1826</field>
<field name="reputation">
2</field>
</data>
</node>
