Libraryless. Click here for Pure Java version (2719L/17K).
1 | static int parseFirstInt(String s) {
|
2 | return parseInt(jextract("<int>", s));
|
3 | } |
4 | |
5 | static int parseFirstInt(Iterable<S> l) {
|
6 | ret parseInt(firstIntegerString(l)); |
7 | } |
Began life as a copy of #1000811
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1004323 |
| Snippet name: | parseFirstInt - parse first int in string (or return 0) |
| Eternal ID of this version: | #1004323/5 |
| Text MD5: | 145d5af4cb23b6b3d64af3e3e879d4a4 |
| Transpilation MD5: | 377043800a173123771c6d779320f53d |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-01-26 13:53:41 |
| Source code size: | 169 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1034 / 1156 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |