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

9
LINES

< > BotCompany Repo | #1015854 // md5FromUniqueFile - see uniqueFileNameUsingMD5_80

JavaX fragment (include)

sS md5FromUniqueFile(File f) {
  if (f == null) null;
  S s = f.getName();
  S md5;
  if (l(s) > md5length() && s.charAt(md5length()) == ' '
    && isPossibleMD5(md5 = takeFirst(md5length(), s)))
    ret md5;
  null;
}

Author comment

Began life as a copy of #1015172

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: #1015854
Snippet name: md5FromUniqueFile - see uniqueFileNameUsingMD5_80
Eternal ID of this version: #1015854/1
Text MD5: dbc9c9a91057a12232dd34596cd24c19
Author: stefan
Category: javax / ocr
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-28 21:28:36
Source code size: 226 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 384 / 385
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)