Libraryless. Click here for Pure Java version (4839L/32K).
1 | // countryCode = GB, US, DE, IN, ... |
2 | // returns "+1" etc. (or null) |
3 | sS dialCodeStringForCountryCode(S countryCode) {
|
4 | CountryDialCode cdc = countryDialCodeByCountryCode(countryCode); |
5 | ret cdc?.dialCode; |
6 | } |
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: | 403 / 529 |
| Referenced in: | [show references] |