static int countDigitsInString(S s) { int n = 0; for i over s: if (isDigit(s.charAt(i))) ++n; ret n; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028393 | 
| Snippet name: | countDigitsInString | 
| Eternal ID of this version: | #1028393/1 | 
| Text MD5: | 6946276728e2c36c19e2599db20cf79b | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2020-06-15 19:45:28 | 
| Source code size: | 117 bytes / 6 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 454 / 469 | 
| Referenced in: | [show references] |