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

Shuffle between users ??
I have multiple $users in table. I need to send them $message.

I need to send the next messag

checkbox update
I am having a brain fart right now and i cant remember how to do this. if anyone could help that wou

quick basic question, hopefully not dumb
I don't know how to search for this, so forgive me if it's been covered...

I often see an exa

Variables and Include
Code: [Select]<?php

$header = $_COOKIE['mss']['header'];
$body = $_COOKIE['mss']['b

Searching keywords from array
Hello everyone, Im just wondering if someone could help me with another issue im having. Im still le

Pagination won't carry results past page 2.
Hi all,

I've worked out my pagination script and its paginating fine until I click next from

Allowing ' and "
Hello everyone,

I am creating a form where users submit information to go into a database. I

removing space from the end of a variable
i have a variable $image which contains the following url "http://tiles.xbox.com/tiles/oo/P5/0m

Help with search.php
Hello All

I need the search engine on a site I am building at the moment to display the searc

Update Database
Hi All,


I have a problem with this:

Code: [Select]<?php
session_start();

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