|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
Locate Function
Hi i found this is the mysql manual but want to know is there a way to return subsequent occurances of a substring and not just the 1st 1?
LOCATE(substr,str) POSITION(substr IN str) Returns the position of the first occurrence of substring substr in string str. Returns 0 if substr is not in str: mysql> SELECT LOCATE('bar', 'foobarbar'); [moved to Database Help by xs0] |
|
#2
|
|||
|
|||
|
RE: Locate Function
Sorry I posted this twice didn't think the other 1 had posted.
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > Locate Function |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|