1 | sS languageToTwoLetters(S s) { |
2 | if (eqic(s, 'german)) ret 'de; |
3 | if (eqic(s, 'english)) ret 'en; |
4 | ret s; |
5 | } |
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: | #1021144 |
Snippet name: | languageToTwoLetters |
Eternal ID of this version: | #1021144/1 |
Text MD5: | c3629305dc0fe1932db6f249a32d30d2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-23 23:20:40 |
Source code size: | 112 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 285 / 338 |
Referenced in: | [show references] |