Method: str::unhtml
Removes all html tags and encoded chars from a string
Info
Syntax
str::unhtml($string)
Parameters
- $string (string)
Return (string)
The html string
Example
echo str::unhtml('some <em>crazy</em> stuff');
// output: some uber crazy stuff