1 | static L<S> string_extensionOfFileName_multi(fS s) { |
2 | L<Int> l = allIndexes(s, '.'); |
3 | ret map(l, func(Int i) -> S { substring(s, i+1) }); |
4 | } |
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: | #1013391 |
Snippet name: | string_extensionOfFileName |
Eternal ID of this version: | #1013391/1 |
Text MD5: | 11d9e80b0dc799b8311255ae80117edb |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-01-04 05:08:50 |
Source code size: | 144 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 385 / 411 |
Referenced in: | [show references] |