Libraryless. Click here for Pure Java version (3811L/22K).
1 | sS dropLeadingDots(S s) { |
2 | int i = 0; |
3 | while (charAt(s, i) == '.') ++i; |
4 | ret dropFirst(s, i); |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1032564 |
Snippet name: | dropLeadingDots |
Eternal ID of this version: | #1032564/1 |
Text MD5: | e9b14cc553b64074ec1b192fb652193c |
Transpilation MD5: | 1b4c606dcf052423f53053a7bc50c7d5 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-09-22 23:48:40 |
Source code size: | 104 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 145 / 208 |
Referenced in: | [show references] |