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

6
LINES

< > BotCompany Repo | #1008092 // getGlobalIDPrefix

JavaX fragment (include)

static S getGlobalIDPrefix(S s) {
  L<S> tok = javaTok(s);
  if (eq(get(tok, 1), "[") && eq(get(tok, 5), "]") && possibleGlobalID(get(tok, 3)))
    ret get(tok, 3);
  null;
}

Author comment

Began life as a copy of #1008090

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: #1008092
Snippet name: getGlobalIDPrefix
Eternal ID of this version: #1008092/1
Text MD5: ec228b31e0f4e4e45ddbac41d41cd720
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:20:38
Source code size: 179 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 478 / 499
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)