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

4
LINES

< > BotCompany Repo | #1001798 // getLine - get line no # of text ("human count" - starting at 1)

JavaX fragment (include)

// lineNr starts at 1
static S getLine(S s, int lineNr) {
  ret safeGet(toLines(s), lineNr-1);
}

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: #1001798
Snippet name: getLine - get line no # of text ("human count" - starting at 1)
Eternal ID of this version: #1001798/1
Text MD5: ba9ee6dc0127224f397264f804e018c4
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-28 15:12:09
Source code size: 99 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 703 / 909
Referenced in: [show references]