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

5
LINES

< > BotCompany Repo | #1022421 // replaceWords_includingCamelCase

JavaX fragment (include)

sS replaceWords_includingCamelCase(SS map, S s) {
  if (empty(s)) ret s;
  ret join(tok_replaceWords_transferCase(map,
    tok_splitAtUnderscoreAndCamelCase(javaTokNoQuotes(s))));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022421
Snippet name: replaceWords_includingCamelCase
Eternal ID of this version: #1022421/6
Text MD5: e0b1ed4b68ee3691482fa3a50298c852
Author: stefan
Category: javax / gazelle
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-17 10:53:03
Source code size: 185 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 219 / 250
Version history: 5 change(s)
Referenced in: [show references]