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

3
LINES

< > BotCompany Repo | #1028106 - dropTrailingBracketedCount

JavaX fragment (include)

sS dropTrailingBracketedCount(S s) {
  ret replaceAll(s, [[\s?\(\d+\)$]], "");
}

download  show line numbers  debug dex   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028106
Snippet name: dropTrailingBracketedCount
Eternal ID of this version: #1028106/4
Text MD5: d388327c4e7c79e6a2db3eeef9b46a93
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-19 15:07:40
Source code size: 82 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 28 / 46
Version history: 3 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1028106 & http://1028106.tinybrain.de