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

3
LINES

< > BotCompany Repo | #1014578 // dropLeadingSquareBracketStuff - note: "[" doesn't have to be at index 0

JavaX fragment (include)

static S dropLeadingSquareBracketStuff(S s) {
  ret trimSubstring(s, indexOf(s, ']')+1);
}

Author comment

Began life as a copy of #1014535

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: #1014578
Snippet name: dropLeadingSquareBracketStuff - note: "[" doesn't have to be at index 0
Eternal ID of this version: #1014578/3
Text MD5: e1f3d8b7b8941cc5027709fe60cfd9bb
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-06 14:31:38
Source code size: 92 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 380 / 417
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1014579 - leadingSquareBracketStuff
#1015157 - afterSquareBracketStuff - just trims whole string if no square brackets
#1016485 - dropTrailingSquareBracketStuff
#1018067 - dropActuallyLeadingSquareBracketStuff
#1034518 - dropActuallyLeadingSquareBracketStuff