1 | static S toAcronym(S s) { |
2 | new StringBuilder buf; |
3 | for (S w : words2(s)) |
4 | if (isIdentifier(w)) |
5 | buf.append(firstChar(w)); |
6 | ret str(buf); |
7 | } |
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: | 441 / 478 |
Referenced in: | [show references] |