View Single Post
Old 2006-01-03, 01:40 PM   #17
ClickBuster
I'm normally not a praying man, but if you're up there, please save me Superman!
 
ClickBuster's Avatar
 
Join Date: Dec 2004
Location: Bulgaria
Posts: 476
Send a message via ICQ to ClickBuster
Man, don't know how your script is coded, but if it's PHP maybe the following piece of code will be useful:

Code:
<?php
 $end = $description[strlen($description) - 1];
 $end != "." ? $description .= "." : 1;
?>
Assuming that the name of the variable is $description, this code will put a period at the end, in case the last char is not a period.
__________________
The tendency is to push it as far as you can
-- Fear and Loathing In Las Vegas
ClickBuster is offline   Reply With Quote