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

3
LINES

< > BotCompany Repo | #1008765 // hasLettersAllUppercase - check if a string is all upper case (and contains any letters at all)

JavaX fragment (include)

static bool hasLettersAllUpperCase(S s) {
  ret hasLetters(s) && !containsLowerCase(s);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1008765
Snippet name: hasLettersAllUppercase - check if a string is all upper case (and contains any letters at all)
Eternal ID of this version: #1008765/3
Text MD5: 26e6aa127c6c5b539440317a228daf7a
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-02 11:58:34
Source code size: 91 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 500 / 1622
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1008766 - containsLowerCase - checks if string contains lower-case characters
#1014544 - isAllUpperCase - synonym of hasLettersAllUppercase