Libraryless. Click here for Pure Java version (4904L/27K).
static int indexOfLine(S text, S sub) { ret indexOf(lines_iterator(text), sub); }
Began life as a copy of #1029612
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034089 |
| Snippet name: | indexOfLine |
| Eternal ID of this version: | #1034089/1 |
| Text MD5: | 1bb134adb9c60af3eed89db16f408a12 |
| Transpilation MD5: | 23b42a7d863edc55a19ca4fef3be3e8c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-01-21 16:42:10 |
| Source code size: | 85 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 342 / 447 |
| Referenced in: | [show references] |