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

11
LINES

< > BotCompany Repo | #1031011 // shorten_str

JavaX fragment (include)

sS shorten_str(O o) {
  ret shorten(str(o));
}

sS shorten_str(O o, int max) {
  ret shorten(str(o), max);
}

sS shorten_str(int max, O o) {
  ret shorten_str(o, max);
}

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: 284 / 241
Version history: 3 change(s)
Referenced in: [show references]