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: | 396 / 413 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1018229 - isDash |