Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1024109 // hasEllipsesInTheMiddle

JavaX fragment (include)

sbool hasEllipsesInTheMiddle(S s) {
  int i = indexOf(s, "...", 1);
  ret i > 0 && i < l(s)-3;
}

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: 115 / 142
Referenced in: [show references]