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

5
LINES

< > BotCompany Repo | #1023187 // switcheroo_nameToYou

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

Libraryless. Click here for Pure Java version (9806L/70K).

sS switcheroo_nameToYou(S name, S s) {
  SS map = combinedMechMapForCurrentLanguages_inOrder("Switcheroo you -> $name");
  map = mapValues(map, x -> replaceIC(x, "$name", name));
  ret translateUsingPhraseMap(s, reverseCIMap_noOverwrite(map));
}

Author comment

Began life as a copy of #1023186

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: #1023187
Snippet name: switcheroo_nameToYou
Eternal ID of this version: #1023187/6
Text MD5: 63d57aebf4c2c2c5760afe43a30ec548
Transpilation MD5: 29a14ae2729f75aea3d1967b42d57f8e
Author: stefan
Category: nl
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-05-24 19:43:08
Source code size: 249 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 308 / 386
Version history: 5 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1023261 - googleDecensor