For the 1st question:
http://us.php.net/manual/en/function.substr-count.php

For the second question:
http://us.php.net/manual/en/function.strpos.php
http://us.php.net/manual/en/function.str-replace.php

Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com



Ron Piggott wrote:
> I have a series of questions.
>
> How do I count the number of <br /> 's in a string?
>
> How do I add text in the middle of a string, let's say after the 3rd
> <br />
>
> Ron
>
>
>   

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to