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

3
LINES

< > BotCompany Repo | #1001663 // rsubstring

JavaX fragment (include)

static S rsubstring(S s, int n) {
  ret s.substring(max(0, l(s)-n), l(s));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1001663
Snippet name: rsubstring
Eternal ID of this version: #1001663/1
Text MD5: 92a9c468f9b9a3c0704d4ec39d8a3448
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-11-01 14:39:53
Source code size: 78 bytes / 3 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 586 / 812
Referenced in: [show references]