Libraryless. Click here for Pure Java version (2989L/17K).
static int indexOfNonDigit(S s) { int n = l(s); for i to n: if (!isDigit(s.charAt(i))) ret i; ret -1; }
Began life as a copy of #1014797
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019460 |
Snippet name: | indexOfNonDigit |
Eternal ID of this version: | #1019460/2 |
Text MD5: | cf4f0554c52b86cf06687998a53db2db |
Transpilation MD5: | 3417d6e14118d09865f76abe4618a9ac |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-11 09:50:40 |
Source code size: | 125 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 364 / 515 |
Version history: | 1 change(s) |
Referenced in: | [show references] |