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

Setting condidtions for an input box
Hi all,

I would like to set a condition in a txt box that says the number a user enters has t

foreach result into a single variable
Hi,

I have this code...

Code: [Select]foreach ($_POST['Interests'] as $interest =&

Generating unique numbers using php
Hi,
I need help in generating unique number using php.I tired using rand() in php.But, by using r

Sum of Values in an Array
This is probably really simple... but it's been years since I've written anything, so bare with me!<

Creating web pages by php
Hello again,
I was just wondering us there a way to use a php script to create a new web page. I

php or sql?
Sorry not sure if this is a sql problem or php the following code is supposed to delete data from th

How can I uploading Transactional Data from Legacy to New SAP system
Hell Gurus,

I am overwhelmed with questions on how to migrate huge volume of Sales Orders

Cursor statement failed with errors
Following statement failed with the errors.

cursor proj_cursor1 is (select projectID from

Web Host List
Here is a list of web hosts that offer PHP and MySQL. It is no where near a full list, but it is mos

Add code to enable passing of checkbox variable on login
Ok, I have a login page, but want to add a checkbox that when checked and successful login is made i

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