i need a MySql statement that returns a substring of 20 words, starting at word 35, from a mediumtext column.
Any ideas how this query would look like?
i need a MySql statement that returns a substring of 20 words, starting at
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I would be inclined to agree with @RomanNewaza but this should do it.
This will get the first 55 words assuming a space is a safe word delimiter –
And this will get the last 20 words based on the same assumption –
So putting these two together you end up with –