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

6
LINES

< > BotCompany Repo | #1014584 // isSingleCharactersPlusSpaces - like "h i g h e r"

JavaX fragment (include)

sbool isSingleCharactersPlusSpaces(S s) {
  if (even(l(s))) false;
  for i over s:
    if (!(even(i) ? isLetter(s.charAt(i)) : isSpace(s.charAt(i)))) false;
  true;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1014584
Snippet name: isSingleCharactersPlusSpaces - like "h i g h e r"
Eternal ID of this version: #1014584/3
Text MD5: e543b682a3697cdb59291f794fc27a0a
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-24 13:02:09
Source code size: 171 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 402 / 420
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)