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

7
LINES

< > BotCompany Repo | #1003476 // findLastQuoted - find last quoted token (uses nlTok), return unquoted

JavaX fragment (include)

static S findLastQuoted(S s) {
  L<S> tok = nlTok(s);
  for (int i = l(tok)-2; i >= 0; i -= 2)
    if (isQuoted(tok.get(i)))
      ret unquote(tok.get(i));
  null;
}

Author comment

Began life as a copy of #1003471

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003476
Snippet name: findLastQuoted - find last quoted token (uses nlTok), return unquoted
Eternal ID of this version: #1003476/1
Text MD5: 2dcc058c17a6597428f93237db41c7ee
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-04 22:36:54
Source code size: 171 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 530 / 559
Referenced in: [show references]