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

All snippets
Create a snippet
Full search

Quick search:


Editing Snippet ID: #1002048
Snippet name:
Category, Type:
Content:
static S dropSuffix(S suffix, S s) { ret nempty(suffix) && endsWith(s, suffix) ? s.substring(0, l(s)-l(suffix)) : s; }
Comment:
Public (visible to everyone):
Created: 2015-12-15 14:09:40

This page without fancy editor.