1 | static L<Int> indicesOfStartingWithTrim(LS l, S prefix) {
|
2 | new L<Int> x; |
3 | for i over l: |
4 | if (startsWith(trim(l.get(i)), prefix)) |
5 | x.add(i); |
6 | ret x; |
7 | } |
Began life as a copy of #1013118
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: | #1021249 |
| Snippet name: | indicesOfStartingWithTrim |
| Eternal ID of this version: | #1021249/3 |
| Text MD5: | c5ec6d6bc2784f875ada8aaadb7a5c56 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-02-06 11:32:50 |
| Source code size: | 166 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 523 / 556 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |