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

3
LINES

< > BotCompany Repo | #1032565 // addDotIfNempty

JavaX fragment (include)

sS addDotIfNempty(S s) {
  ret empty(s) ? "" : s + ".";
}

Author comment

Began life as a copy of #1032017

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032565
Snippet name: addDotIfNempty
Eternal ID of this version: #1032565/1
Text MD5: d5308129558aecf3d75747bd31f017c6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-22 23:51:12
Source code size: 59 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 143 / 174
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)