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

6
LINES

< > BotCompany Repo | #1025553 // parseColonProperty_array

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

Libraryless. Click here for Pure Java version (66L/1K).

1  
static S[] parseColonProperty_array(S s) {
2  
  if (s == null) null;
3  
  int i = s.indexOf(':');
4  
  if (i < 0) null;
5  
  ret new S[] { trimSubstring(s, 0, i), trimSubstring(s, i+1) };
6  
}

Author comment

Began life as a copy of #1025544

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025553
Snippet name: parseColonProperty_array
Eternal ID of this version: #1025553/5
Text MD5: 77e7ffe567a371d82a65c7bcef7971e6
Transpilation MD5: ebd150406a30508ba19ffc733fe39d83
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-03 13:28:56
Source code size: 182 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 217 / 312
Version history: 4 change(s)
Referenced in: [show references]