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

3
LINES

< > BotCompany Repo | #1004313 // countLines - number of lines in string

JavaX fragment (include)

static int countLines(S s) {
  ret l(toLines(s)); // yeah could be optimized :-)
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004313
Snippet name: countLines - number of lines in string
Eternal ID of this version: #1004313/1
Text MD5: 87d7a42d45c938f004f96eb8102627bb
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-13 14:01:21
Source code size: 84 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 606 / 664
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1008529 - numLines - synonym of countLines - number of lines in string