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

3
LINES

< > BotCompany Repo | #1029921 // dropHashComments

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2572L/16K).

1  
sS dropHashComments(S s) {
2  
  ret replaceAll(s, "#.*", "");
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1029921
Snippet name: dropHashComments
Eternal ID of this version: #1029921/1
Text MD5: cd9c1866eb96e1e24e382d0cee8618d8
Transpilation MD5: b585792bfa0b57eef3f84e9398e848d0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-10-06 13:38:19
Source code size: 62 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 158 / 233
Referenced in: [show references]