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

5
LINES

< > BotCompany Repo | #1027358 // ai_escapeBrackets

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

Libraryless. Click here for Pure Java version (2313L/15K).

1  
sS ai_escapeBrackets(S s) {
2  
  ret simpleSpaces_trim(replace_multi(s,
3  
    "(", " opening_bracket ",
4  
    ")", " closing_bracket "));
5  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1027358
Snippet name: ai_escapeBrackets
Eternal ID of this version: #1027358/1
Text MD5: 26431577689c437591032ed697498ebe
Transpilation MD5: 5930b97662cc8fd053d476e2a7a3164b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-11 18:43:33
Source code size: 136 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 178 / 248
Referenced in: [show references]