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

3
LINES

< > BotCompany Repo | #1005513 // containsNewLine

JavaX fragment (include)

sbool containsNewLine(S s) {
  ret contains(s, '\n'); // screw \r, nobody needs it
}

Author comment

Began life as a copy of #1003921

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005513
Snippet name: containsNewLine
Eternal ID of this version: #1005513/3
Text MD5: 41b07e1809e70f1b11efbd82ba60e1c4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-15 04:17:06
Source code size: 86 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 695 / 759
Version history: 2 change(s)
Referenced in: [show references]