sbool allCharactersAre(S s, char c) { int n = l(s); for i to n: if (s.charAt(i) != c) false; true; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021531 |
Snippet name: | allCharactersAre |
Eternal ID of this version: | #1021531/1 |
Text MD5: | ce7d28f13b1a66839524fb87ea72b199 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-17 14:52:05 |
Source code size: | 115 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 318 / 333 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |