Riron Posted August 29, 2012 at 11:42 AM Report Share #473957 Posted August 29, 2012 at 11:42 AM Existe alguma função em php que quando encontra um ponto final (.) de uma quebra de linha (<br>)? Link to comment Share on other sites More sharing options...
HappyHippyHippo Posted August 29, 2012 at 11:42 AM Report Share #473958 Posted August 29, 2012 at 11:42 AM (edited) tem: $result = str_replace(".", "<br />", $string); PS : ou melhor, visto que deverás queres manter o "." $result = str_replace(".", ".<br />", $string); Edited August 29, 2012 at 11:43 AM by HappyHippyHippo 1 Report IRC : sim, é algo que ainda existe >> #p@p Portugol Plus Link to comment Share on other sites More sharing options...
Riron Posted August 29, 2012 at 11:55 AM Author Report Share #473960 Posted August 29, 2012 at 11:55 AM Obrigado resultou Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now