![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Too lazy to set a custom title
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
|
Any mySQL/SQL experts around?
Is there an "easy" way to grab all records where the number of spaces (or some other character, or even a strnig) in a specific field is > then a set number? eg: you you want to count the "words" in each sentence that's been stored in a field.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Join Date: Jan 2005
Location: At My Desk
Posts: 2,904
|
maybe, might be easier to use php/mysql
using strlen, substr, substr_count etc |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Mainstream since 2010
Industry Role:
Join Date: Jan 2003
Posts: 1,327
|
Quote:
http://dev.mysql.com/doc/refman/4.1/...functions.html You should be able to solve it with regular expressions.
__________________
Alea iacta est |
|
![]() |
![]() ![]() ![]() ![]() ![]() |