Warning: session_start(): open(/var/lib/php/sessions/sess_gdca0jqvali85ne6m2egklt4vm, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
isPunctuationCharacter [1018223]

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

7
LINES

< > BotCompany Repo | #1018223 // isPunctuationCharacter

JavaX fragment (include)

sbool isPunctuationCharacter(char c) {
  ret !isSpace(c) && !Character.isLetterOrDigit(c);
}

sbool isPunctuationCharacter(S s) {
  ret l(s) == 1 && isPunctuationCharacter(s.charAt(0));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018223
Snippet name: isPunctuationCharacter
Eternal ID of this version: #1018223/2
Text MD5: 313e89831443fb8bac26509966385365
Author: stefan
Category: javax / tokenizing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-11 13:15:49
Source code size: 193 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 795 / 802
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1018229 - isDash