1 | static int indexOfFirstPunctuationChar(S s) { |
2 | int n = l(s); |
3 | for i to n: |
4 | if (isPunctuationChar(s.charAt(i))) |
5 | ret i; |
6 | ret -1; |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1014461 |
Snippet name: | indexOfFirstPunctuationChar |
Eternal ID of this version: | #1014461/1 |
Text MD5: | 9f69a75e9efa1c8134b1b380e510295e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-22 01:19:29 |
Source code size: | 146 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 348 / 392 |
Referenced in: | [show references] |