static String firstToUpper(String s) { if (empty(s)) ret s; return Character.toUpperCase(s.charAt(0)) + s.substring(1); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001141 |
Snippet name: | firstToUpper |
Eternal ID of this version: | #1001141/2 |
Text MD5: | 8b42d6dffe4ad637b09dd2a35e896a61 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-07-04 17:58:14 |
Source code size: | 128 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 756 / 2916 |
Version history: | 1 change(s) |
Referenced in: | #1002427 - Accellerating 629 (SPIKE) #1004252 - toUpper #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1007417 - firstToLower #1017975 - varFirstToUpper [dev.] #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |