C
C
Carlyndow Marlifi2022-03-26 11:55:54
PHP
Carlyndow Marlifi, 2022-03-26 11:55:54

How to sort the values ​​in such a string?

$str = '[5][22][2]'; // допустим есть такая строка
How to sort them in ascending order? [2][5][22]
At least explain in theory, then I'll figure it out myself

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question