Warning: session_start(): open(/var/lib/php/sessions/sess_nfbcog8trsk97q9rjqn5fla27i, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
shortToString - str(), shortened for error messages etc. [1011506]

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

3
LINES

< > BotCompany Repo | #1011506 // shortToString - str(), shortened for error messages etc.

JavaX fragment (include)

static S shortToString(O o) {
  ret shorten(str(o), 100);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1011506
Snippet name: shortToString - str(), shortened for error messages etc.
Eternal ID of this version: #1011506/2
Text MD5: 3b89d19e819ec523b4f16a3351dd549c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-30 22:21:12
Source code size: 61 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 876 / 988
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1031011 - shorten_str