static L<Int> indicesOfEndingWithTrim(LS l, S suffix) { new L<Int> x; for i over l: if (endsWith(trim(l.get(i)), suffix)) x.add(i); ret x; }
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: | 179 / 221 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |