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

7
LINES

< > BotCompany Repo | #1021919 // unicodeSmileyIndices

JavaX fragment (include)

static L<Int> unicodeSmileyIndices(S s) {
  int n = l(s)-2;
  new L<Int> l;
  for i to n:
    if (isUnicodeSmileyAtIndex(s, i)) l.add(i);
  ret l;
}

Author comment

Began life as a copy of #1021917

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1021919
Snippet name: unicodeSmileyIndices
Eternal ID of this version: #1021919/1
Text MD5: c75d1666cb82be14852d67d3a43305d0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-03 16:35:58
Source code size: 154 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 175 / 217
Referenced in: [show references]