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

3
LINES

< > BotCompany Repo | #1027827 // numberOfWords

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2751L/18K).

static int numberOfWords(S s) {
  ret l(javaTokNPunctuationC(s));
}

Author comment

Began life as a copy of #1006329

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027827
Snippet name: numberOfWords
Eternal ID of this version: #1027827/1
Text MD5: ff51ad5e0b87753bd157c41ab25dd0ac
Transpilation MD5: e9a9705a4d7963bcf6f1220941fe8a3f
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-14 00:50:28
Source code size: 69 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 235 / 313
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1028067 - numberOfWords2 - using words2