sS tok_dropStartingWithWord_nPunctuation(S word, S s) { LS tok = javaTokNPunctuationWithBrackets(s); int i = indexOfIC(tok, word); ret i < 0 ? s : joinSubList(tok, 0, i-1); }
Began life as a copy of #1021383
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: | #1021384 |
Snippet name: | tok_dropStartingWithWord_nPunctuation |
Eternal ID of this version: | #1021384/1 |
Text MD5: | 93e498ec42dc06645aeb7d4afac10998 |
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:31:31 |
Source code size: | 184 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 264 / 309 |
Referenced in: | [show references] |