function-F_substrHTML

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.
Overview

Classes

Interfaces

Exceptions

Functions

Function F_substrHTML

Return a substring of XHTML code while making sure no html tags are chopped. It also prevents chopping while a tag is still open. this function is based on a public-domain script posted on www.php.net by fox@conskript.server and mr@bbp.biz

Package: com\tecnick\tcexam\shared
Author: Nicola Asuni
Located at shared/code/tce_functions_tcecode.php
Parameters summary
$htmltext (string)
$min_length = 100 (default=100) the approximate length you want the concatenated text to be
$offset_length = 20 (default=20) the max variation in how long the text can be
 

© 2004-2018 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy