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

3
LINES

< > BotCompany Repo | #1021347 // stringToDollarVar1

JavaX fragment (include)

sS stringToDollarVar1(S s) {
  ret "$" + dropAllButLettersAndUnderscores(replace(s, ' ', '_'));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1021347
Snippet name: stringToDollarVar1
Eternal ID of this version: #1021347/3
Text MD5: 118cab6f19ab9f702a5f72ec7940b607
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-09 15:05:47
Source code size: 99 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 258 / 323
Version history: 2 change(s)
Referenced in: [show references]