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

13
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

Author comment

Began life as a copy of #1002637

download  show line numbers  debug dex   

Travelled to 10 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1008850
Snippet name: trimSubstring - trim of substring
Eternal ID of this version: #1008850/3
Text MD5: 1154843b861a38754a5702863fd29677
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-20 00:34:58
Source code size: 255 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 219 / 259
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1008850 & http://1008850.tinybrain.de