// s = mail address or gmail handle static S completeGMailAddress(S s) { if (empty(s)) ret s; int i = s.indexOf('@'); if (i >= 0) ret s; ret s + "@gmail.com"; }
Began life as a copy of #1003576
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1014693 |
Snippet name: | completeGMailAddress - see gmailGetHandle |
Eternal ID of this version: | #1014693/2 |
Text MD5: | 1afd26f664e77164c32e6bc93d8115f2 |
Author: | stefan |
Category: | javax / gmail bot |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-30 08:18:09 |
Source code size: | 174 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 449 / 447 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |