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

7
LINES

< > BotCompany Repo | #1011640 // toAcronym

JavaX fragment (include)

static S toAcronym(S s) {
  new StringBuilder buf;
  for (S w : words2(s))
    if (isIdentifier(w))
      buf.append(firstChar(w));
  ret str(buf);
}

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: #1011640
Snippet name: toAcronym
Eternal ID of this version: #1011640/1
Text MD5: e13eb4c3ced11888e6839c7d2a1abe30
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-01 05:57:35
Source code size: 155 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 362 / 398
Referenced in: [show references]