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

6
LINES

< > BotCompany Repo | #1008089 // englishToConceptLanguage_keepPrefix - keep [randomid] in front

JavaX fragment (include)

static S englishToConceptLanguage_keepPrefix(S s) {
  L<S> tok = javaTok(s);
  if (eq(get(tok, 1), "[") && eq(get(tok, 5), "]") && possibleGlobalID(get(tok, 3)))
    ret join(subList(tok, 0, 7)) + englishToConceptLanguage(join(subList(tok, 7)));
  ret englishToConceptLanguage(s);
}

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: #1008089
Snippet name: englishToConceptLanguage_keepPrefix - keep [randomid] in front
Eternal ID of this version: #1008089/1
Text MD5: 738640e3ee73b50dc681802a68727b19
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-24 14:17:33
Source code size: 287 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 582 / 596
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1008090 - dropGlobalIDPrefix