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

3
LINES

< > BotCompany Repo | #1026658 // urlencodeForFileName - also encodes "*"

JavaX fragment (include)

sS urlencodeForFileName(S s) {
  ret replace(urlencode(s), "*", "%2A");
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026658
Snippet name: urlencodeForFileName - also encodes "*"
Eternal ID of this version: #1026658/1
Text MD5: c2a854a500f43ac49d507fe0fbe17ac1
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-18 17:28:24
Source code size: 75 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 235 / 254
Referenced in: [show references]