note 110538 deleted from function.strip-tags by aharvey
| From: | aharvey@php.net | Date: | Mon, 05 Nov 2012 03:07:25 +0000 |
| Subject: | note 110538 deleted from function.strip-tags by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-191662@lists.php.net to get a copy of this message | ||
Note Submitter: Ondra
----
Java equivalent of strip_tags() (using org.jsoup:jsoup as dependency) :
public static String stripHtmlTags( String str ){
return Jsoup.parse(str).text();
}