Libraryless. Click here for Pure Java version (7842L/44K).
1 | // lineNr counted from 0 |
2 | static int lengthOfLine(S text, int lineNr) {
|
3 | ret l(getFromIterator(linesIterator(text), lineNr)); |
4 | } |
Began life as a copy of #1004884
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1035119 |
| Snippet name: | lengthOfLine - length of line number x |
| Eternal ID of this version: | #1035119/2 |
| Text MD5: | 3bbffa57d6931eea5ebbf8b241427cb5 |
| Transpilation MD5: | 5885bf67454890ee505ce662ee7bf3b6 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-03-30 16:51:56 |
| Source code size: | 130 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 330 / 459 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |