1 | static String firstToUpper(String s) { |
2 | if (empty(s)) ret s; |
3 | return Character.toUpperCase(s.charAt(0)) + s.substring(1); |
4 | } |
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: | 755 / 2916 |
Version history: | 1 change(s) |
Referenced in: | [show references] |