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

6
LINES

< > TinyBrain | #1008897 - ctxDropEmotion

JavaX fragment (include)

static S ctxDropEmotion(S s) {
  L<S> tok = javaTok(s);
  if (eqGet(tok, 1, "[") && eqGet(tok, 5, "]") && isInteger(get(tok, 3)))
    ret trimJoinSubList(tok, 6);
  ret s;
}

download  show line numbers  debug dex   

Travelled to 2 computer(s): cfunsshuasjs, tvejysmllsmz

No comments. add comment

Snippet ID: #1008897
Snippet name: ctxDropEmotion
Eternal ID of this version: #1008897/2
Text MD5: 6277cc09bd3e653093ff7e6066002cad
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-16 00:02:55
Source code size: 178 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 42 / 75
Version history: 1 change(s)
Referenced in: [show]