Timeline for Simple way to test if string contains positive integer
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 31, 2015 at 9:53 | comment | added | wvxvw | @Gilles yes, but I assumed it to be trivial to write. I doubt there's a specialized function for positive integers only (and probably if there was one, zero would be still treated as positive). | |
| Jul 30, 2015 at 21:31 | comment | added | Archenoth | It also allows you to check for them with normal numeric comparison. (< (cl-parse-integer "23K" :junk-allowed t) 0) | |
| Jul 30, 2015 at 21:26 | review | Low quality posts | |||
| Jul 30, 2015 at 21:43 | |||||
| Jul 30, 2015 at 21:20 | comment | added | Gilles 'SO- stop being evil' | This allows nonpositive integers. | |
| Jul 30, 2015 at 21:08 | history | answered | wvxvw | CC BY-SA 3.0 |