For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > December 2007 > rtrim a string with MySQL's function









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author rtrim a string with MySQL's function
Shelley Shyan

2007-12-05, 4:01 am

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

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com