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

7
LINES

< > BotCompany Repo | #1001853 // substr - synonym of substring

JavaX fragment (include)

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

Author comment

Began life as a copy of #1001007

download  show line numbers  debug dex  old transpilations   

Travelled to 18 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, elmgxqgtpvxh, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, uelavcdoioby, vouqrxazstgt, wnsclhtenguj

No comments. add comment

Snippet ID: #1001853
Snippet name: substr - synonym of substring
Eternal ID of this version: #1001853/3
Text MD5: 4ec757c1712662bc0a05ef16fc79751a
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:49:16
Source code size: 126 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 721 / 4458
Version history: 2 change(s)
Referenced in: [show references]