static L<S> splitIntoSentences_noQuotes(S s) { int i = 0; new L<S> l; while (i <= l(s)) { int j = smartIndexOf(s, ".", i)+1; addIfNempty(l, trim(substring(s, i, j))); i = j; } ret l; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1008428 |
| Snippet name: | splitIntoSentences_noQuotes |
| Eternal ID of this version: | #1008428/1 |
| Text MD5: | e2ad5ef8d3d43f1912e13bde43ae2822 |
| Author: | stefan |
| Category: | javax / parsing |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-05-15 15:20:57 |
| Source code size: | 215 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 678 / 689 |
| Referenced in: | [show references] |