Libraryless. Click here for Pure Java version (4839L/32K).
// countryCode = GB, US, DE, IN, ... // returns "+1" etc. (or null) sS dialCodeStringForCountryCode(S countryCode) { CountryDialCode cdc = countryDialCodeByCountryCode(countryCode); ret cdc?.dialCode; }
Began life as a copy of #1029798
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1029799 |
Snippet name: | dialCodeStringForCountryCode |
Eternal ID of this version: | #1029799/1 |
Text MD5: | 32ef57b899e0ef434f0f9febe08cdf12 |
Transpilation MD5: | 83a5f2226930e4fe419b319519b82701 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-09-17 13:01:07 |
Source code size: | 211 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 182 / 258 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |