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

7
LINES

< > BotCompany Repo | #1011988 // dropPunctuationAtBeginningAndEnd

JavaX fragment (include)

static L<S> dropPunctuationAtBeginningAndEnd(L<S> tok) {
  ret dropLeadingPunctuation(dropPunctuationAtEnd(tok));
}

static S dropPunctuationAtBeginningAndEnd(S s) {
  ret join(dropPunctuationAtBeginningAndEnd(nlTok(s)));
}

Author comment

Began life as a copy of #1008344

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1011988
Snippet name: dropPunctuationAtBeginningAndEnd
Eternal ID of this version: #1011988/3
Text MD5: 45610cc743269d3cb79db8ae63c46e22
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-14 04:42:39
Source code size: 229 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 347 / 364
Version history: 2 change(s)
Referenced in: [show references]