sS firstLetterToUpper(S s) { int i = indexOfFirstLetter(s); ret i < 0 ? s : spliceString(s, i, i+1, upper(s.charAt(i))); }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1024384 |
| Snippet name: | firstLetterToUpper |
| Eternal ID of this version: | #1024384/1 |
| Text MD5: | ca9c400eab1df3ae70c5861a10c95b97 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-08-08 17:09:24 |
| Source code size: | 129 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 422 / 464 |
| Referenced in: | [show references] |