static int indexOfFirstLetter(S s) { int n = l(s); for i to n: if (isLetter(s.charAt(i))) ret i; ret -1; }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1024386 |
| Snippet name: | indexOfFirstLetter |
| Eternal ID of this version: | #1024386/1 |
| Text MD5: | fd8cc46e9192f067d19bb01d747d8504 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-08-08 17:10:50 |
| Source code size: | 128 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 477 / 503 |
| Referenced in: | [show references] |