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
LOOPing Problem
Hello All!The following code loops through the data and displays the data accordingly. My problem is that the $listPR->HoursWorked; array repeats itself. The foreach($listLocations as
Date help - fetch dates for Mondays between xxx and yyy?
Does anyone know the best way to do this? I have two dates, say:2010-01-26 and 2010-05-30and I want to return the dates of all the Mondays between them:2010-02-012010-02-082010-02-15....etc.Thanks
DB2 for z/OS, LUW, iSeries
Hello,
IS Retail & Manufacturing
Hi
PHP Session Issue
I'm having an issue with one section on my website dealing with sessions. Now I know that myself and two other individuals can get it to work without any issues on IE, FF, or other browsers, however,
highlighting search terms
well, I started this in the regular PHP section, but it no longer fits there. Suffice it to say, I'm trying to take individual search terms that are being $_POSTed and highlighting them in the search
Sending UDP Raw socket
I truly need help on this. I am trying to write a test program that simulate a network environment that have 5 clients and 1 server. To do so, I need to be able to edit IP header to change it's
constructor ?
i have written this program and made 3 constructors in the class and i want to call them in the main and i cant can any one help me and tell me how could i call them in the main
Converting RGB values to HEX
Code: <?PHP$file_handle = fopen("colors/rgb.csv", "r");while (!feof($file_handle) ) {$line_of_text = fgetcsv($file_handle, 1024);print $line_of_text[2] . $line_of_text[3] .
limitations on array_unique()
Does any one know what/how imitations are applied to array_unique? I have an issue where no matter how big (as in over this limit) the array is array_unique always returns an array with 32768