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

4
LINES

< > BotCompany Repo | #1031298 // leadingAngleBracketStuff

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2824L/16K).

1  
sS leadingAngleBracketStuff(S s) {
2  
  if (!startsWith(s, ']')) null;
3  
  ret substring(s, 1, smartIndexOf(s, ']'));
4  
}

Author comment

Began life as a copy of #1017389

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031298
Snippet name: leadingAngleBracketStuff
Eternal ID of this version: #1031298/3
Text MD5: e7e89fba90ff87359440f13767fb6b1e
Transpilation MD5: 73336d6039ceb6853d44018f1d910186
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-04 16:58:46
Source code size: 117 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 130 / 183
Version history: 2 change(s)
Referenced in: [show references]