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

14
LINES

< > BotCompany Repo | #1022184 // Clean Unicode Smilies For Printing

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (3247L/17K).

1  
!7
2  
3  
cmodule CleanSmilies > DynPrintLogAndEnabled {
4  
  start {
5  
    dm_vmBus_answerToMessage('cleanForPrint, func(S s) -> S {
6  
      if (!enabled) null;
7  
      S escaped = escapeMultichars(s);
8  
      if (escaped != s)
9  
        print("CLEANED: " + shorten(escaped, 1000));
10  
      ret escaped;
11  
    });
12  
    print("Registered.");
13  
  }
14  
}

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: #1022184
Snippet name: Clean Unicode Smilies For Printing
Eternal ID of this version: #1022184/2
Text MD5: 9bc5f3d092633947fae35abd782835ca
Transpilation MD5: 663fefa88243ec71ddeaf03531e15d41
Author: stefan
Category: javax / stefan's os
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-10 14:22:05
Source code size: 336 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 256 / 17862
Version history: 1 change(s)
Referenced in: [show references]