mariquito Posted October 26, 2006 Report Share Posted October 26, 2006 alguém sabe como apagar os 2 primeiros caracteres de uma stringporque eu só sei apagar o final$data = substr($data, 0, -5);Muito Obrigado!! :huh: Quote Link to comment Share on other sites More sharing options...
0 jefmolino Posted October 26, 2006 Report Share Posted October 26, 2006 vê se isso funciona...$data = substr($data, 2, totaldecaracteres da variavel); Quote Link to comment Share on other sites More sharing options...
0 mariquito Posted October 26, 2006 Author Report Share Posted October 26, 2006 vê se isso funciona...$data = substr($data, 2, totaldecaracteres da variavel);poxa Muito Obrigado!!! deu certo sim Quote Link to comment Share on other sites More sharing options...
Question
mariquito
alguém sabe como apagar os 2 primeiros caracteres de uma string
porque eu só sei apagar o final
$data = substr($data, 0, -5);
Muito Obrigado!! :huh:
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.