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)

static S safeSubstring(S s, int x, int y) {
  return substring(S, x, y);
}

static S safeSubstring(S s, int x) {
  ret substring(s, x);
}

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: 648 / 2020
Version history: 2 change(s)
Referenced in: [show references]