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

4
LINES

< > BotCompany Repo | #1028614 // addPlusToCount

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

Libraryless. Click here for Pure Java version (2525L/16K).

sS addPlusToCount(long max, long n, S s) {
  if (n != max) ret s;
  ret insertString(s, smartIndexOfSpaceEtc(s), "+");
}

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: #1028614
Snippet name: addPlusToCount
Eternal ID of this version: #1028614/2
Text MD5: 6fb25c17b297217b1dcc4b8d2afa0769
Transpilation MD5: dcab0e83bf4e4855cd644502b463ced3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-12 20:28:44
Source code size: 123 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 230 / 338
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)