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).

!7

cmodule CleanSmilies > DynPrintLogAndEnabled {
  start {
    dm_vmBus_answerToMessage('cleanForPrint, func(S s) -> S {
      if (!enabled) null;
      S escaped = escapeMultichars(s);
      if (escaped != s)
        print("CLEANED: " + shorten(escaped, 1000));
      ret escaped;
    });
    print("Registered.");
  }
}

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: 255 / 17861
Version history: 1 change(s)
Referenced in: [show references]