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

11
LINES

< > BotCompany Repo | #1031011 // shorten_str

JavaX fragment (include)

1  
sS shorten_str(O o) {
2  
  ret shorten(str(o));
3  
}
4  
5  
sS shorten_str(O o, int max) {
6  
  ret shorten(str(o), max);
7  
}
8  
9  
sS shorten_str(int max, O o) {
10  
  ret shorten_str(o, max);
11  
}

Author comment

Began life as a copy of #1011506

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031011
Snippet name: shorten_str
Eternal ID of this version: #1031011/4
Text MD5: 7268ca609ca9f50e869e2c0dd8020f25
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-25 02:59:27
Source code size: 179 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 285 / 242
Version history: 3 change(s)
Referenced in: [show references]