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

3
LINES

< > BotCompany Repo | #1036318 // dropHashFromClassName

JavaX fragment (include)

1  
sS dropHashFromClassName(S className) {
2  
  ret regexpReplace(className, "_[0-9a-f]{32}$", "");
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036318
Snippet name: dropHashFromClassName
Eternal ID of this version: #1036318/2
Text MD5: e81b247933462044e0334244474596d5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-15 21:20:04
Source code size: 97 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 121 / 143
Version history: 1 change(s)
Referenced in: [show references]