static L<Int> indicesOfStartingWithTrim(LS l, S prefix) { new L<Int> x; for i over l: if (startsWith(trim(l.get(i)), prefix)) x.add(i); ret x; }
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: | 309 / 334 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1030023 - indicesOfEndingWithTrim |