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)

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

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: 605 / 663
Referenced in: [show references]