Ruslan needs more detailed question because if the format is always:<div><br></div><div>"IMG_####.jpg that you can search using wildcards.<br><br><div class="gmail_quote">On Mon, Feb 6, 2012 at 4:32 PM, Ruslan Zasukhin <span dir="ltr"><<a href="mailto:ruslan_zasukhin@valentina-db.com">ruslan_zasukhin@valentina-db.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 2/6/12 6:38 PM, "Giacomo Vernoni" <<a href="mailto:giacomo@way-out.it">giacomo@way-out.it</a>> wrote:<br>
<br>
> Hi Ruslan,<br>
> RegEx gave me problems so I tried your solution.<br>
><br>
> It's useless because:<br>
><br>
> ------------------------------------------<br>
> | ImgName | ImgNumber (method) |<br>
> ------------------------------------------<br>
> | "10.jpg" | 10 |<br>
> | "IMG_0010.jpg" | 0 |<br>
> | "IMG_0210.jpg" | 0 |<br>
> ------------------------------------------<br>
><br>
> Your solution only works if the number is at the _beginning_ of the string.<br>
> Is this a bug or a normal behaviour?<br>
<br>
</div>Normal.<br>
<div class="im"><br>
> I need to find images where the numeric part is EXACTLY 10 (in the example<br>
> above). I don't want "IMG_0210.jpg" to appear if user searches for "10" (that<br>
> would be an easy "LIKE '%10%').<br>
><br>
> Any other suggestion?<br>
<br>
</div>Well, you did not describe it seems all in detail.<br>
<br>
Lets start from zero.<br>
<br>
* What data you have in records.<br>
and what you want to get ?<br>
<br>
Explain please very detailed.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
--<br>
Best regards,<br>
<br>
Ruslan Zasukhin<br>
VP Engineering and New Technology<br>
Paradigma Software, Inc<br>
<br>
Valentina - Joining Worlds of Information<br>
<a href="http://www.paradigmasoft.com" target="_blank">http://www.paradigmasoft.com</a><br>
<br>
[I feel the need: the need for speed]<br>
<br>
<br>
_______________________________________________<br>
Valentina mailing list<br>
<a href="mailto:Valentina@lists.macserve.net">Valentina@lists.macserve.net</a><br>
<a href="http://lists.macserve.net/mailman/listinfo/valentina" target="_blank">http://lists.macserve.net/mailman/listinfo/valentina</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><a href="http://www.bluewatermaritime.com">http://www.bluewatermaritime.com</a><br>
</div>