files-shared-code-tce-functions-html2txt

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.

tce_functions_html2txt.php

Tags
file

Function to convert HTML code to Text string.

author

Nicola Asuni

since
2003-03-31

Table of Contents

F_html_to_text()  : text
Convert HTML code to Text string.

Functions

F_html_to_text()

Convert HTML code to Text string.

F_html_to_text( $str[,  $preserve_newlines = false ][,  $display_links = false ]) : text
Parameters
$str :

(string) HTML code string to convert.

$preserve_newlines : = false

(boolean) If true convert newline characters to HTML line breaks.

$display_links : = false

(boolean) If true gives a textual representation of links and images.

Return values
text

string

 

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