static S wikipedia_getRedirect(S raw) { raw = trim(raw); S p = "#REDIRECT"; if (!containsNewLine(raw) && swic(raw, p) && endsWith(raw, "]]")) ret dropPrefix("[[", trim(dropPrefixIgnoreCase(p, dropSuffix("]]", raw))).replace("_", " "); null; }
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: | #1008022 |
| Snippet name: | wikipedia_getRedirect |
| Eternal ID of this version: | #1008022/6 |
| Text MD5: | 657dbc4057a901373518c89e27d39f1c |
| Author: | stefan |
| Category: | javax / a.i. / networking |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-02-10 14:18:46 |
| Source code size: | 260 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 700 / 732 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |