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

9
LINES

< > BotCompany Repo | #1027411 // parseColonPropertyPairs_honorBrackets

JavaX fragment (include)

static LPair<S> parseColonPropertyPairs_honorBrackets(S text) {
  new LPair<S> l;
  for (S s : tlft_honoringBrackets(text)) {
    int i = indexOf(s, ':');
    if (i > 0)
      addPair(l, trimSubstring(s, 0, i), trimSubstring(s, i+1));
  }
  ret l;
}

Author comment

Began life as a copy of #1021242

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1027411
Snippet name: parseColonPropertyPairs_honorBrackets
Eternal ID of this version: #1027411/1
Text MD5: 84a4365796e330a1064d246c5208a1d7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-18 15:38:01
Source code size: 257 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 98 / 121
Referenced in: [show references]