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

4
LINES

< > BotCompany Repo | #1023064 // capitalizeWord

JavaX fragment (include)

1  
sS capitalizeWord(S text, S b) {
2  
  b = upper(b);
3  
  ret replacePhrase(text, b, b);
4  
}

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: #1023064
Snippet name: capitalizeWord
Eternal ID of this version: #1023064/1
Text MD5: a17fca974d4c4a3fa0508c23d00164c5
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-30 17:39:28
Source code size: 86 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 264 / 301
Referenced in: [show references]