Answer the question
In order to leave comments, you need to log in
Are there analogues of the to_char function in PostgreSQL?
Is there an analogue of the following function in php?
TO_CHAR(1, '0000') // here the result will be 0001
Answer the question
In order to leave comments, you need to log in
lpad?
It's not very clear what exactly the function does.
In any case, you can write your own implementation.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question