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

3
LINES

< > TinyBrain | #1018232 - tok_isSpacedDash

JavaX fragment (include)

sbool tok_isSpacedDash(LS tok) {
  ret l(tok) == 3 && isOnlySpaces(first(tok)) && isOnlySpaces(last(tok)) && isDash(second(tok));
}

download  show line numbers  debug dex   

Travelled to 8 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tvejysmllsmz

No comments. add comment

Snippet ID: #1018232
Snippet name: tok_isSpacedDash
Eternal ID of this version: #1018232/2
Text MD5: 302755725bc87f0d33fca832e093b7f8
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 17:08:02
Source code size: 133 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 14 / 28
Version history: 1 change(s)
Referenced in: [show]