Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1015381 // lineRange - extract range of lines from text

JavaX fragment (include)

static S lineRange(S s, int from, int to) {
  ret lines(subList(lines(s), from, to)); // optimizable
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015381
Snippet name: lineRange - extract range of lines from text
Eternal ID of this version: #1015381/2
Text MD5: 66dade91fca64d03da7094319ae22e70
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-13 14:46:29
Source code size: 104 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 322 / 346
Version history: 1 change(s)
Referenced in: [show references]