src/Whoops/Util/TemplateHelper.php
public function breakOnDelimiter($delimiter, $s)
    {
        $parts = explode($delimiter, $s);
        foreach ($parts as &$part) {
            $part = '<div class="delimiter">' . $part . '</div>';
        }

        return implode($delimiter, $parts);
    }
public function breakOnDelimiter($delimiter, $s)
    {
        $parts = explode($delimiter, $s);
        foreach ($parts as &$part) {
            $part = '<div class="delimiter">' . $part . '</div>';
        }

        return implode($delimiter, $parts);
    }
public function breakOnDelimiter ( $ delimiter , $ s ) { $ parts = explode ( $ delimiter , $ s ) ; foreach ( $ parts as & $ part ) { $ part = '<div class="delimiter">' . $ part . '</div>' ; } return implode ( $ delimiter , $ parts ) ; }
Makes sure that the given string breaks on the delimiter.

@param  string $delimiter
@param  string $s
@return string
Makes sure that the given string breaks on the delimiter .