// parameter order best for currying sbool containsLineStartingWith(S prefix, S text) { for (S s : lines_iterator(text)) if (startsWith(s, prefix)) true; false; }
Began life as a copy of #1022578
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: | #1022609 |
| Snippet name: | containsLineStartingWith |
| Eternal ID of this version: | #1022609/3 |
| Text MD5: | da9ed9aac7b168958262d98d2efcf361 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-03-24 12:12:59 |
| Source code size: | 182 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 490 / 502 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |