Spliting paragraph into sentences and attach in


Posted on 16th Feb 2014 07:03 pm by admin

Here is what I am trying to do

example: Para1[123.456.789!] 3 sentences
Para2[abc?defghij.klmnop! etc] 3+ sentences

It should split the paras into sentences based on delimiters (.?!), count the length of characters in those sentences.

If any sentence more than "120" charaters it should attach "..." at the end of sentence.

Then email the sentences in an excel(attached)
example.xls

123.
456.
789!
abc?
defghij.
klmnop!
dskasdjkasjkdjfkdgjkfgjflhkglfhkdljsakfjdkf...

Please send me sample code, please don't just tell me I can use explode() function or split....etc

No comments posted yet

Your Answer:

Login to answer
216 Like 12 Dislike
Previous forums Next forums
Other forums

help with php
It's not displaying or pulling anything out of the database.


Code: <html><

mysql query with single quotes in a variable
$sitedetails = "INSERT INTO vars (address, sitename, description, ownername, theme) VALUES ('$u

Custom list order
Hi there,

I have checked this tutorial and it's great till the point where I want to display

Namespace Problem
I'm having problem with a section of code with a variable namespace.

This code works fine:

with clause
hi all, i have a big query that usually access the same table more than once. for example, i have s

why aint this working?
i have this code:

Code: $num = 250;
$count = ($num - $rcount);

echo $rc

How to display random record from table?
I have the following code:

Code: <?php
$display_block .= "<input type=

Any Good MMORPGs you've played?
I'm about to have ALOT of free time on my hands (finished highschool) and I need something to fill t

Accessing Infotype data in dialog program
Hi All
In Dialog programs attributes I didn't see any logical database field. How can I access

Request for tunning the below query
Hi,

Can any one help me on the below query while improving the performance,

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash