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

3
LINES

< > BotCompany Repo | #1021579 // fullStopUnlessOtherPunctuation

JavaX fragment (include)

1  
sS fullStopUnlessOtherPunctuation(S s) {
2  
  ret endsWithPunctuation(s) ? s : fullStop(s);
3  
}

Author comment

Began life as a copy of #1021423

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021579
Snippet name: fullStopUnlessOtherPunctuation
Eternal ID of this version: #1021579/2
Text MD5: a400e54bbc14c05761af061bbeb2a443
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-18 17:34:53
Source code size: 92 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 321 / 341
Version history: 1 change(s)
Referenced in: [show references]