1 | sbool hasEllipsesInTheMiddle(S s) {
|
2 | int i = indexOf(s, "...", 1); |
3 | ret i > 0 && i < l(s)-3; |
4 | } |
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: | #1024109 |
| Snippet name: | hasEllipsesInTheMiddle |
| Eternal ID of this version: | #1024109/1 |
| Text MD5: | 9dd262562f3072763bcf2c0ebd693a3f |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-07-20 21:10:56 |
| Source code size: | 99 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 387 / 421 |
| Referenced in: | [show references] |