WordPress File wp-includes/formatting.php

wp_html_excerpt()

Safely extracts not more than the first $count characters from HTML string.

wp_parse_str()

Parses a string into variables to be stored in an array.