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

12
LINES

< > BotCompany Repo | #1024073 // unicode_mathBoldScript

JavaX fragment (include)

1  
sS unicode_mathBoldScript(S s) {
2  
  new StringBuilder buf;
3  
  for (char c : characters(s)) {
4  
    if (c >= 'a' && c <= 'z')
5  
      buf.append(unicode_mathBoldScript_aToZ_lower(c));
6  
    else if (c >= 'A' && c <= 'Z')
7  
      buf.append(unicode_mathBoldScript_aToZ_upper(c));
8  
    else
9  
      buf.append(c);
10  
  }
11  
  ret str(buf);
12  
}

Author comment

Began life as a copy of #1024069

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1024073
Snippet name: unicode_mathBoldScript
Eternal ID of this version: #1024073/2
Text MD5: f7a9e8605085665fbd8f3fdefe41ede3
Author: stefan
Category: javax / unicode
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-19 23:45:29
Source code size: 330 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 99 / 137
Version history: 1 change(s)
Referenced in: [show references]