sS tok_dropStartingWithWord(S word, S s) { LS tok = javaTokWithBrackets(s); int i = indexOfIC(tok, word); ret i < 0 ? s : joinSubList(tok, 0, i-1); }
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: | #1021383 |
Snippet name: | tok_dropStartingWithWord |
Eternal ID of this version: | #1021383/2 |
Text MD5: | abc33c4a1c0107d267dc156de7b642c5 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-10 15:30:36 |
Source code size: | 159 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 254 / 305 |
Version history: | 1 change(s) |
Referenced in: | [show references] |