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

4
LINES

< > BotCompany Repo | #1013391 // string_extensionOfFileName

JavaX fragment (include)

static L<S> string_extensionOfFileName_multi(fS s) {
  L<Int> l = allIndexes(s, '.');
  ret map(l, func(Int i) -> S { substring(s, i+1) });
}

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: 386 / 412
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)