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

7
LINES

< > BotCompany Repo | #1017242 // ai_extractRepetitionPhrase

JavaX fragment (include)

static Number ai_extractRepetitionPhrase(L<S> tok) {
  int i = jfind(tok, "<int> times");
  if (i < 0) null;
  Number n = parseIntLongOrBigInt(tok.get(i));
  removeSubList(tok, i, i+4);
  ret n;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017242
Snippet name: ai_extractRepetitionPhrase
Eternal ID of this version: #1017242/1
Text MD5: 98279f97fcd7e54ac5d8b02a6881af87
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-14 22:05:53
Source code size: 202 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 403 / 427
Referenced in: [show references]