If anyone's looking for another nice user-defined function example, I've just set one 
up at work and am happy to share the wealth :). They're really quite cool, and this 
one is a good deal simpler than udf_example.cc.

The function is at:
http://www.adamhooper.com:4242/ccode/project_view.php?project=mysql_stripchars

It's a useful function that can take the place of a dozen REPLACE()'s -- it can be run 
either like Perl's tr/// or as a simple thing that just removes single characters from 
the string (its primary use is for removing gibberish characters such as "-" or "#"). 
It's all in the README linked there. Really it's more for example purposes than 
anything else -- I woulda liked having more than one example to refer to when I was 
coding it.

Do whatever you want with it but sell it, and most of all have fun :). Hope it helps 
someone out.

Adam Hooper
[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

Reply via email to