Warning: session_start(): open(/var/lib/php/sessions/sess_3r2bng9pi20p5riegrkk9nov2c, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
fsI_flex - prepend "#" if begins with digit [1021045]

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: 667 / 689
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)