1 | svoid ai_bothLinesEndWith(S a, S b) {
|
2 | S s = commonSuffixCI(a, b); |
3 | if (nempty(s)) |
4 | emit("both lines end with " + quote(s));
|
5 | } |
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1021009 |
| Snippet name: | ai_bothLinesEndWith |
| Eternal ID of this version: | #1021009/1 |
| Text MD5: | e0f49a1f1e84691bda915545d99425ab |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-01-17 21:57:49 |
| Source code size: | 135 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 501 / 517 |
| Referenced in: | [show references] |