Download Jar. Libraryless. Click here for Pure Java version (5811L/41K).
!7 p-exp { assertEqualsVerbose(userDir("bla"), dropExtension(userDir("bla")); assertEqualsVerbose(userDir("bla"), dropExtension(userDir("bla.x")); assertEqualsVerbose(userDir("blubb.x"), dropExtension(userDir("blubb.x.y")); assertEqualsVerbose(new File("bla"), dropExtension(new File("bla.x")); }
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: | #1018709 |
Snippet name: | Test dropExtension |
Eternal ID of this version: | #1018709/2 |
Text MD5: | 34b6ee488d1ff8a563a4640775be30cb |
Transpilation MD5: | 870b7f0c256929dc887fab98e831d480 |
Author: | stefan |
Category: | javax / io |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-11 17:14:38 |
Source code size: | 312 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 430 / 966 |
Version history: | 1 change(s) |
Referenced in: | [show references] |