| 1 | static L<Int> indicesOfEndingWithTrim(LS l, S suffix) {
 | 
| 2 | new L<Int> x; | 
| 3 | for i over l: | 
| 4 | if (endsWith(trim(l.get(i)), suffix)) | 
| 5 | x.add(i); | 
| 6 | ret x; | 
| 7 | } | 
Began life as a copy of #1021249
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1030023 | 
| Snippet name: | indicesOfEndingWithTrim | 
| Eternal ID of this version: | #1030023/1 | 
| Text MD5: | 0ae251a8fec388aca594f007b452eccc | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2020-10-30 11:18:01 | 
| Source code size: | 162 bytes / 7 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 434 / 478 | 
| Referenced in: | [show references] |