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

7
LINES

< > BotCompany Repo | #1001007 // safeSubstring - synonym of substring - exception-free substring method

JavaX fragment (include)

1  
static S safeSubstring(S s, int x, int y) {
2  
  return substring(S, x, y);
3  
}
4  
5  
static S safeSubstring(S s, int x) {
6  
  ret substring(s, x);
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001007
Snippet name: safeSubstring - synonym of substring - exception-free substring method
Eternal ID of this version: #1001007/3
Text MD5: 6932cf9f860ee07c1be9a150901e6064
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-15 12:51:52
Source code size: 145 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 716 / 2093
Version history: 2 change(s)
Referenced in: [show references]