samedi 21 août 2021

add space after the third number except the last four numbers

I'm new to Laravel, and I've a small issue which is that i have column in DB that should store 13 numbers in specific form. The form is to add space after each 3 numbers except the last four numbers.

For Example: 1234567891234 it should stored in the following format: 123 456 789 1234

Thanks



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire