3.23.35-log reports it correctly.

Cal
http://www.calevans.com
 

-----Original Message-----
From: Gordon Werner [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 12:01 PM
To: [EMAIL PROTECTED]
Subject: mySQL INSTR function problem


Hi there ...

I am running mySQL Ver. 9.33 Distrib. 3.22.25  and I have run into the
following problem.

When I type:

mysql> select INSTR('foobarbar', 'bar');

it outputs

+---------------------------+
| INSTR('foobarbar', 'bar') |
+---------------------------+
|                         7 |
+---------------------------+


Shouldn't the output be 4?


If it should be 4, does any one know why it is returning 7?

Thanks in advance

Gordon Werner


_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Gordon Karel Werner - [EMAIL PROTECTED]
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to