Revision: 24296
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 25, 2010 11:31 by jpkunst
Initial Code
SELECT IF(INSTR( `textfield`, ' ' ) > 0, SUBSTRING( `textfield` FROM 1 FOR (INSTR( `textfield`, ' ' ) -1 )), `textfield`) FROM `exampletable`;
Initial URL
Initial Description
Initial Title
Select the first word in a text field
Initial Tags
Initial Language
MySQL