AnsweredAssumed Answered

vrf Compare text strings

Question asked by VRFuser on Jul 1, 2005
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META http-equiv=Content-Type content=text/html;charset=ISO-8859-1><META content="MSHTML 6.00.2800.1505" name=GENERATOR><STYLE></STYLE></HEAD><BODY text=#000000 bgColor=#ffffff><DIV><FONT face=Arial size=2>Hello Carlos</FONT></DIV><DIV><FONT face=Arial size=2></FONT> </DIV><DIV><FONT face=Arial size=2>Use:</FONT></DIV><DIV><FONT face=Arial size=2></FONT> </DIV><DIV><FONT face=Arial size=2>StrPosStr("|"+a+"|","|"+b+"|")    </FONT></DIV><DIV><FONT face=Arial size=2></FONT> </DIV><DIV><FONT face=Arial size=2>It returns mix array of -1's and zeros and feed this into a comparitor.</FONT></DIV><DIV><FONT face=Arial size=2></FONT> </DIV><DIV><FONT face=Arial size=2>Should be easy enough.  Note the "|" are added to avoid matching sub-strings, you can use a different unused character if this symbol is used in your strings.</FONT></DIV><DIV><FONT face=Arial size=2></FONT> </DIV><DIV><FONT face=Arial size=2>Regards</FONT></DIV><DIV><FONT face=Arial size=2></FONT> </DIV><DIV><FONT face=Arial size=2>Andrew Fudge</FONT></DIV><DIV><FONT face=Arial size=2>Wales UK</FONT></DIV><DIV><FONT face=Arial size=2></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=cjimenez@ivic.ve href="mailto:cjimenez@ivic.ve">Carlos Jimnez</A>   </DIV>  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=vrf@agilent.com   href="mailto:vrf@agilent.com">VRF</A> </DIV>  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, July 01, 2005 4:07 PM</DIV>  <DIV style="FONT: 10pt arial"><B>Subject:</B> [vrf] Compare text strings</DIV>  <DIV><BR></DIV><BR>I need compare <FONT style="FONT-FAMILY: 'Courier New'"   face="Courier New"></FONT>text strings with 1D array but Comparator   function <FONT style="FONT-FAMILY: 'Courier New'"   face="Courier New"></FONT>cannot compare text strings. How I do?.<BR><BR>Best   Regard,<BR><BR>Carlos Jimnez<BR><BR>  <DIV class=moz-signature>-- <BR><IMG   src="attachments2005vrf_01805.files/"   border=0></DIV><BR>---<BR>You are currently subscribed to vrf as: <A   href="mailto:AndrewF@genesysibs.com">AndrewF@genesysibs.com</A><BR>To   subscribe send a blank email to "<A   href="mailto:join-vrf@it.lists.it.agilent.com">join-vrf@it.lists.it.agilent.com</A>".<BR>To   unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".<BR>To   send messages to this mailing list, email "vrf@agilent.com". <BR>If you need   help with the mailing list send a message to   "owner-vrf@it.lists.it.agilent.com".   <P>  <HR>  <P></P>Instituto Venezolano de Investigaciones Cientificas - Venezuelan   Institute for Scientific Research -I.V.I.C.- Caracas, VENEZUELA.<BR>Solo para   uso institucional, de acuerdo con la ley - Only for institutional use,   according to the law.<BR>Para informacion adicional - Additional information   contact: netadmin@ivic.ve - http://www.ivic.ve<BR><BR>---<BR>You are currently   subscribed to vrf as: AndrewF@genesysibs.com<BR>To subscribe send a blank   email to "join-vrf@it.lists.it.agilent.com".<BR>To unsubscribe send a blank   email to "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this   mailing list,  email "vrf@agilent.com".  <BR>If you need help with   the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".</BLOCKQUOTE><BR>---<BR>You are currently subscribed to vrf as: rsb@soco.agilent.com<BR>To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".<BR>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list,  email "vrf@agilent.com".  <BR>If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".</BODY></HTML>  

Outcomes