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

5
LINES

< > BotCompany Repo | #1012394 // ai_tripelize_dash

JavaX fragment (include)

static T3<S> ai_tripelize_dash(S s, L<S> tok) {
  int i = indexOfLL(tok, " ", "-", " ");
  if (i < 0) null;
  ret triple(trimJoinSubList(tok, 0, i), "-", trimJoinSubList(tok, i+3));
}

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: #1012394
Snippet name: ai_tripelize_dash
Eternal ID of this version: #1012394/3
Text MD5: 805cb7d440ff18008ab3d2aefcde6e0c
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-30 01:14:43
Source code size: 187 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 336 / 374
Version history: 2 change(s)
Referenced in: [show references]