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

17
LINES

< > BotCompany Repo | #1008850 // trimSubstring - trim of substring

JavaX fragment (include)

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

static S trimSubstring(S s, int x, int y) {
  ret trim(substring(s, x, y));
}

ifclass IntRange
static S trimSubstring(S s, IntRange r) {
  ret trim(substring(s, r));
}
endif

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

Author comment

Began life as a copy of #1002637

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: #1008850
Snippet name: trimSubstring - trim of substring
Eternal ID of this version: #1008850/4
Text MD5: 581f06a6ada22c92e7fc94237b1ebe9d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-16 23:36:52
Source code size: 322 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 408 / 478
Version history: 3 change(s)
Referenced in: [show references]