- substr: documentation ( source)
- strpos: documentation ( source)
<?php
$text = "<p>701082 Range Control Board from Dacor is a manufacturer approved part. The part has been repaired to Dacor's specifications resulting in the highest performance with superior quality</p>";
Echo substr($text, 0, strpos($text, "The part has been repaired to")). "</p>";