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

4
LINES

< > BotCompany Repo | #1014579 // leadingSquareBracketStuff

JavaX fragment (include)

static S leadingSquareBracketStuff(S s) {
  if (!startsWith(s, '[')) null;
  ret substring(s, 1, smartIndexOf(s, 1, ']'));
}

Author comment

Began life as a copy of #1014578

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: #1014579
Snippet name: leadingSquareBracketStuff
Eternal ID of this version: #1014579/1
Text MD5: c7fcb144e828b4806b1160dee339ee39
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-24 12:46:52
Source code size: 127 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 353 / 395
Referenced in: [show references]