Libraryless. Click here for Pure Java version (3833L/22K).
1 | sbool containsAnyChar(S s, S chars) { |
2 | int n = l(s); |
3 | for i to n: |
4 | if (contains(chars, s.charAt(i))) |
5 | true; |
6 | false; |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1032765 |
Snippet name: | containsAnyChar |
Eternal ID of this version: | #1032765/1 |
Text MD5: | 64e985e16c9c6a636a60709625accd5c |
Transpilation MD5: | 9affff9b10bd78df9e90942a2c157a5d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-04 17:36:42 |
Source code size: | 134 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 132 / 192 |
Referenced in: | [show references] |