How to correctly sort a string with a number inside?
Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Ocean Floor
--
Chapters
00:00 Question
00:34 Accepted answer (Score 340)
02:23 Thank you
--
Full question
https://stackoverflow.com/questions/5967500/how-to-correctly-sort-a-string-with-a-number-inside
Accepted answer links:
[human sorting]: http://nedbatchelder.com/blog/200712/human_sorting.html
[natural sorting]: http://www.codinghorror.com/blog/2007/12/sorting-for-humans-natural-sort-order.html
[here]: http://nedbatchelder.com/blog/200712/human_sorting.html
[a regex that matches floats]: https://stackoverflow.com/a/12643073/190597
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/licensing
--
Tags
#python #regex #sorting #string
#avk47
Видео How to correctly sort a string with a number inside? автора Кодовая Симфония
Видео How to correctly sort a string with a number inside? автора Кодовая Симфония
Информация
3 декабря 2023 г. 18:04:42
00:02:42
Похожие видео