Welcome Guest, Not a member yet? Register   Sign In
Extract text from MEDIUM TEXT
#1

[eluser]abmcr[/eluser]
This is not a CI problem... but a suggestion
I have a MEDIUM TEXT from a database (for example
Code:
CodeIgniter is a powerful PHP framework with a very small footprint, built for PHP
coders who need a simple and elegant toolkit to create full-featured web applications.
If you're a developer who lives in the real world of shared hosting accounts and clients with deadlines,
and if you're tired of ponderously large and thoroughly undocumented frameworks
and i want to extract a small piece, for example 10 words before "deadlines" and 10 words after...


The function strpos of PHP is useful (and i use it if no idea), but i think a regexp is better.... Thank you


Messages In This Thread
Extract text from MEDIUM TEXT - by El Forum - 08-08-2008, 05:16 AM
Extract text from MEDIUM TEXT - by El Forum - 08-08-2008, 07:05 AM
Extract text from MEDIUM TEXT - by El Forum - 08-08-2008, 07:13 AM
Extract text from MEDIUM TEXT - by El Forum - 08-08-2008, 07:35 AM
Extract text from MEDIUM TEXT - by El Forum - 08-08-2008, 08:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB