Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1016303 // formatYouTubeURL - takes ID or URL

JavaX fragment (include)

static S formatYouTubeURL(S s) {
  ret "http://youtu.be/" + extractYouTubeID(s);
}

Author comment

Began life as a copy of #1013725

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016303
Snippet name: formatYouTubeURL - takes ID or URL
Eternal ID of this version: #1016303/1
Text MD5: 01d4649b6745d255fcdbfb07780c5c6b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-14 10:46:28
Source code size: 84 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 365 / 413
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1016337 - formatYouTubeURL_long - takes ID or URL