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

7
LINES

< > BotCompany Repo | #1028931 // insertSpaceAt - insert space at index

JavaX fragment (include)

1  
sS insertSpaceAt(S s, int i) {
2  
  ret insertAt(s, i, " ");
3  
}
4  
5  
sS insertSpaceAt(int i, S s) {
6  
  ret insertSpaceAt(s, i);
7  
}

Author comment

Began life as a copy of #1028494

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1028931
Snippet name: insertSpaceAt - insert space at index
Eternal ID of this version: #1028931/3
Text MD5: 36d4a811513678549a73318fd843a37f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-06-27 03:06:51
Source code size: 122 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 255 / 292
Version history: 2 change(s)
Referenced in: [show references]