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

3
LINES

< > BotCompany Repo | #1002071 // trim function

JavaX fragment (include)

static S trim(S s) { ret s == null ? null : s.trim(); }
static S trim(StringBuilder buf) { ret buf.toString().trim(); }
static S trim(StringBuffer buf) { ret buf.toString().trim(); }

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1002071
Snippet name: trim function
Eternal ID of this version: #1002071/1
Text MD5: d783fc76160880c8ed0077c9605ab93f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-12-16 20:40:58
Source code size: 184 bytes / 3 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 792 / 2945
Referenced in: #1002427 - Accellerating 629 (SPIKE)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1031138 - Smarty AI Include
#3000382 - Answer for ferdie (>> t = 1, f = 0)