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

3
LINES

< > BotCompany Repo | #1011107 // dropLastJavaToken - keeps the spacing

JavaX fragment (include)

static S dropLastJavaToken(S s) {
  ret join(dropLast(2, javaTok(s)));
}

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: #1011107
Snippet name: dropLastJavaToken - keeps the spacing
Eternal ID of this version: #1011107/1
Text MD5: 09658cbda2b71a373cb53eae246bd5c7
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-12 19:56:59
Source code size: 74 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 473 / 497
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1011884 - dropFirstJavaToken - keeps the spacing
#1014435 - dropLastToken
#1026583 - dropLastJavaTokenAndSpacing