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
Did you know?Explore Trending and Topic pages for more stories like this.

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

problem getting my contact form working
Yeah I know this is a pretty basic problem, but it's been a while since I've worked with PHP and I'm

help with database debug pls
Parse error: syntax error, unexpected T_ELSE in /home/content/m/e/s/mesick/html/students/05/php/chec

BackButton Behaviour in AJAX
I have an ASPX Page AJAX Enabled!The page has a gridView and a DDL for filtering on it. The Gridview

Had a simple form script that suddenly stopped working
It was made about a year ago and had been working fine. Last time it was known to work for sure was

How to replace search button with link?
hi to everbody.
i have a search submit form and button like this :

<form id="f

need help with this contact form
I made this form and I need it to read the data and write the data to a table and its not working ca

Please help - should be a simple fix.. driving me nuts
Everything seemed to be working fine. I have a table, it alphabetically lists a bunch of cities and

Show specific day of the week
I have been racking my brain trying to get this function to work properly and it is doing so for eve

Ajax Error since Upgrading to 3.5
Ever since upgrading my site to .NET 3.5 (I needed LINQ), I've been getting this annoying error on o

login box shows up again after logging in 2nd login works
Hello,

I am having trouble on my site Lockerz.rack111.com where when you login the login box

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