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

3
LINES

< > BotCompany Repo | #1017859 // skipToURL - keeps whole string if there is no URL

JavaX fragment (include)

sS skipToURL(S s) {
  ret dropFirst(indexOfAnySubstring(s, "http://", "https://"), s);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017859
Snippet name: skipToURL - keeps whole string if there is no URL
Eternal ID of this version: #1017859/3
Text MD5: 4919bb417bae108c2c46d1795af24b4a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-18 13:05:56
Source code size: 90 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 325 / 346
Version history: 2 change(s)
Referenced in: [show references]