how to add zeros to string in php : <p>I have strings: <code>23-65, 123-45, 2-5435, 345-4</code>
I want to add zeros to them so all of them will look like <code>###-#### (three digits dash four digits): 023-0065, 123-0045, 002-5435, 345-0004</code>
How can i do it in php?
Thanks!</p>
