// parameter order best for currying sbool containsLineStartingWith_trim(S prefix, S text) { for (S s : lines_iterator(text)) if (startsWith(ltrim(s), prefix)) true; false; }
Began life as a copy of #1022609
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: | #1022610 |
| Snippet name: | containsLineStartingWith_trim |
| Eternal ID of this version: | #1022610/3 |
| Text MD5: | 1572dd928a5739987b44363dd7cf9fbf |
| 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:13:05 |
| Source code size: | 194 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 432 / 462 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |