You are here: Extracting part of a string « PHP SQL « IT news, forums, messages
Extracting part of a string

Posted by laredotornado on 11/23/05 18:22

Hello,

Using MySQL 4, how do I write a SELECT statement that returns the
portion of the string after the last comma in the string? That is, if
I have a field with a value

"a,b,c,d,e"

and

"a,b,c,eee"

I would like to write an SQL statement that returns "e" in the first
case and "eee" in the second case.

Thanks for your help, - Dave

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация