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

7
LINES

< > BotCompany Repo | #1011016 // charactersEqualIC

JavaX fragment (include)

static bool charactersEqualIC(char c1, char c2) {
  if (c1 == c2) true;
  char u1 = Character.toUpperCase(c1);
  char u2 = Character.toUpperCase(c2);
  if (u1 == u2) true;
  ret Character.toLowerCase(u1) == Character.toLowerCase(u2);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1011016
Snippet name: charactersEqualIC
Eternal ID of this version: #1011016/1
Text MD5: 6fa07cdaec8f5ca855fae70464c7d3e2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-11 18:07:32
Source code size: 243 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 360 / 428
Referenced in: [show references]