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

3
LINES

< > BotCompany Repo | #1021045 // fsI_flex - prepend "#" if begins with digit

JavaX fragment (include)

sS fsI_flex(S s) {
  ret startsWithDigit(s) ? "#" + s : s;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1021045
Snippet name: fsI_flex - prepend "#" if begins with digit
Eternal ID of this version: #1021045/1
Text MD5: 20fe5376e24b229ab9d0493c96b8ff8b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-19 17:41:49
Source code size: 62 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 280 / 318
Referenced in: [show references]