static ReplaceSuffix ai_suffixChange(S a, S b) { int common = lCommonPrefixIC(a, b); ret common == 0 ? null : ReplaceSuffix(dropFirst(a, common), dropFirst(b, common)); }
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: | #1022598 |
Snippet name: | ai_suffixChange - deduce ReplaceSuffix operation from two strings |
Eternal ID of this version: | #1022598/5 |
Text MD5: | 8401995e7d5253050d31cfa97de58ef2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-06 21:24:16 |
Source code size: | 177 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 233 / 270 |
Version history: | 4 change(s) |
Referenced in: | [show references] |