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

3
LINES

< > BotCompany Repo | #1008658 - appendSpaceIfNempty

JavaX fragment (include)

static S appendSpaceIfNempty(S s) {
  ret empty(s) ? unnull(s) : s + " ";
}

download  show line numbers  debug dex   

Travelled to 11 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1008658
Snippet name: appendSpaceIfNempty
Eternal ID of this version: #1008658/2
Text MD5: 8903624e49ac03e82ed305275de87e32
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-24 16:15:46
Source code size: 77 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 284 / 303
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1008658 & http://1008658.tinybrain.de