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

6
LINES

< > BotCompany Repo | #1013613 // containsUpperCase - checks if string contains upper-case characters

JavaX fragment (include)

static bool containsUpperCase(S s) {
  for i over s:
    if (isUpperCase(s.charAt(i)))
      true;
  false;
}

Author comment

Began life as a copy of #1008766

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: #1013613
Snippet name: containsUpperCase - checks if string contains upper-case characters
Eternal ID of this version: #1013613/3
Text MD5: 50fef788de4f476f5c3d0e415b668977
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-11 15:02:10
Source code size: 114 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 324 / 368
Version history: 2 change(s)
Referenced in: [show references]