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

7
LINES

< > TinyBrain | #1008900 - ctxStringProcessing

JavaX fragment (include)

static L<S> ctxStringProcessing(L<S> tok) {
  int i;
  while ((i = jfind(tok, "* + *")) >= 0)
    replaceTokens_reTok(tok, i, i+5,
      quote(ctxGetString(tok.get(i)) + ctxGetString(tok.get(i+4))));
  ret tok;
}

download  show line numbers  debug dex   

Travelled to 2 computer(s): cfunsshuasjs, tvejysmllsmz

No comments. add comment

Snippet ID: #1008900
Snippet name: ctxStringProcessing
Eternal ID of this version: #1008900/5
Text MD5: 4768434ba39c2e0eb7f76093c2fb5d5b
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-18 17:37:40
Source code size: 218 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 24 / 29
Version history: 4 change(s)
Referenced in: [show]