rtrim a string with MySQL's function
| From: | Shelley Shyan | Date: | Wed, 05 Dec 2007 07:27:15 +0000 |
| Subject: | rtrim a string with MySQL's function | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-44391@lists.php.net to get a copy of this message | ||
Hi all,
It's really frustrating, I got a problem to trim a string using MySQL's function.
The fact is that I want to rtrim a number from a string, that is:
if the string is abc2321413412, I want the function to return 2321413412;
c123, 123;
456789, 456789;
Is there a faster way to manage that?
The faster, the better. :)
Thank you for your consideration and waiting for your answer. :)
Regards,
Shelley